Most voted "delphi-xe8" questions
Delphi XE8 is a specific version of Delphi developed by Embarcadero and released in April 2015.
Learn more…51 questions
Sort by count of
-
7
votes1
answer396
viewsDelphi Error or Bug in Procedure Creation
In the creation of Procedure automatics, double click on the component, Delphi XE8 and Delphi-10 is having a strange reaction he mixes the new Procedure with one of the existing Procedure, making…
-
6
votes1
answer5018
viewsHow to Insert/Recover Image in Mysql Database
I would like to know in a clear and simple way how to insert/recover image in Mysql database? I’m using Firedac to connect to the Mysql database. I have a JPEG image and want to save it in a Mysql…
-
5
votes1
answer135
viewsShow hint only when the application starts for the first time
I have a desktop application that is a bit complicated, so I thought I’d help the user by generating images (Hints) to help on the way. But I know how boring this is, so I would like to know if it…
-
4
votes1
answer1135
viewsDelphi XE8 and Firemonkey: Integration between webbrowser javascript and the system
I’m using the component TWebBrowser Delphi to create a system that interacts with the site. So far so good! I can run the site Avascripts correctly, the problem is when I need to take an answer from…
-
3
votes1
answer373
viewsHow to concatenate two lists efficiently?
Aiming at the union represented by the figure: In view of the structure below: TMyRecord = record Index: Int64; Kind: TMyEnum; Value: String; end Having two lists…
-
3
votes1
answer258
viewsHow to improve the performance of a key search?
In view of the fact that TDictionary exposes only ways to recover value through the key, I have the following algorithm to fetch a key from its value: var Table: TDictionary<Int64, Extended>;…
-
3
votes0
answers101
viewsDivergence between versions of Delphi - Datasnap
Sqlserver database to proc receives a single parameter which is the guy’s registration and returns the balance. Very simple, but here on Delphi XE8 with Datasnap only returns zero and on other…
-
2
votes1
answer759
viewsHow to make livebindings with objects and pick up the objects contained?
I have a problem that I cannot solve in any way. With the Delphi XE8, have already done livebindings to connect screen components TEdit with non-visual objects, but I cannot connect screen…
-
2
votes1
answer588
viewsDelphi - Make a Thread that plays a song in a loop
I managed to make a Thread that plays the song, but only once. If I put a loop on it I have several errors, like the 1400. It seems that the thread does not close when you close Form1, because the…
-
2
votes1
answer271
viewsScroll bar Twebbrowser
How can I leave the scroll bar at the end of the TWebBrowser?? Or know some other component that interprets and displays html? Help me please help!
delphi-xe8asked 8 years, 11 months ago Viniam 642 -
2
votes0
answers158
viewsDelphi xe8 Deployment file
Good people I am using the Delphi XE8 Multi-device, I would like to attach an image.jpg file in the project and be able to use on android, I looked at the site of Mbarcadero and there it says how to…
delphi-xe8asked 8 years, 11 months ago Viniam 642 -
2
votes3
answers381
viewsLoop to make edits invisible
I have the following way, to make the edits invisible. edt_raster5.visible := false; edt_raster6.visible := false; edt_raster7.visible := false; edt_raster8.visible := false; edt_raster9.visible :=…
-
2
votes2
answers2921
viewsHow to use ternary IF
How would the following situation be using if ternary? if StrToInt(Edit1.Text) < 30 then Edit2.Text := '30' else if StrToInt(Edit1.Text) in [30..50] then Edit2.Text := '40' else Edit2.Text :=…
-
2
votes2
answers854
viewsError on close executable
I have an application that has 4 forms. After the process there is a button for the person to start again. procedure TForm4.Button3Click(Sender: TObject); begin FreeAndNil(Form1); FreeAndNil(Form2);…
-
2
votes1
answer255
viewsShow DBF values above Mapwingis + Delphi points
I have the following code to open a file . shp and plot it on a component of MapWinGis Map1. procedure TForm1.Button1Click(Sender: TObject); var shp: Shapefile; HandleLayer: integer; begin shp:=…
-
2
votes1
answer223
viewsHow do I change the path of my database when running the program?
I’m starting to program with the Delphi XE8 and using Firebird 2.5. I managed to implement my database and it’s working all right. The problem I’m facing now is that as I change from computers to…
-
1
votes1
answer84
viewsHow to discover all the objects in a Joystick?
I am compiling a project for Win32 using the Directx Directinput library to manage Joysticks. I tried to successfully identify if any Joystick is connected through the enumeration: uses Classes,…
-
1
votes0
answers392
viewsDelphi - Chat with Emoticons
I believe that there are many and many people with this same doubt, unfortunately I did not find anything on google that could help me so I would like the solidarity and help of the staff here, How…
-
1
votes0
answers96
viewsCan Firemonkey use my GPU and Direct2d?
I’m starting a game development for Windows 10 and would like to know if Firemonkey can use my GPU without any extra configuration. I’ve heard "rumors" that Firemonkey can actually automatically use…
-
1
votes1
answer66
viewsHow to keep an image in a form?
Hello! To use in game production, I would like to understand how to keep an image in a form through Firemonkey. The code I have so far is as follows:: program TestCase; uses UITypes, Classes, Types,…
-
1
votes0
answers297
views"Invalid class Typecast" when loading stream from Sqlite (Delphi)
I’m trying to find an image I’ve already entered in my Sqlite database, however on the line ms:=query.CreateBlobStream(query.FieldByName('imagem'),TBlobStreamMode.bmRead); have error "Invalid class…
-
1
votes1
answer524
viewsDelphi xe8 Multi-device Json post
Good staff I would like to send data by json to a php server from Delphi, I tried to do this way: Delphi Cliente: procedure TForm7.Button7Click(Sender: TObject); var code : Integer; sResponse :…
-
1
votes0
answers237
viewshow to read Json in xe8
is not working in xe8 =/, you know why? Json requestresponse1.context: ["1 - Album Linha Inglesa (f) 30x30 (a) 30x60 25 laminas (120 imagens)","1 - Cobertura Religioso, Ensaio e…
-
1
votes4
answers542
viewsLoop function until the application closes
I have the following code that keeps changing image from time to time. if Timer1.enabled = true then begin Gauge1.Progress := Gauge1.Progress +1; if Gauge1.Progress=10 then…
-
1
votes0
answers282
viewsfunction that returns the name of the key field of a query (tfdquery), Delphi XE8
I’m preparing a CRUD in Delphi and need to do a function to find the key field (Keyfield) of a certain record located in the query. The idea is to replace the id field required by Locate with this…
-
1
votes1
answer127
viewsRemove part of a text in the combobox
I have a combobox that I read a directory and bring the names of the found files: exit: demons.txt arch.txt elo.txt So far so good, but I would not like the extension to appear in the combobox .txt,…
-
1
votes1
answer765
viewsModify URL for REST requests
I have a service running in Delphi in DataSnap REST, to access any function of REST via link would look like this: servidor:porta/datasnap/rest/classmethods/funcao/parametros I needed to change the…
-
1
votes0
answers402
viewsLivebindings Delphi Berlin - Locking
I migrated my app to firemonkey that was rotating in the Delphi-xe8 to the Delphi Berlin, everything works perfectly, only when I visualize the Bindings designer and select some query or listview…
-
1
votes0
answers449
viewsHow to get the result of a precedent that is in the datasnap server
needing a little help here I have this function on the datasnap server //query that is in fqy_SaldoRs is "PRC_SALDO_MOTOQUEIRO :pMoto" which is nothing more than a query that takes an integer type…
-
1
votes1
answer144
viewsCorrupted file while copying from one folder to another
I am locating and saving the files in a listbox1, as follows: procedure Localizar(DIR,ARQ: string; LIST: TStrings); var SR: TSearchRec; begin {Garante a barra no final do diretório} if…
-
1
votes0
answers178
viewsApplication Delphi 10 Seatle does not open
I am developing an application in Delphi 10 Seatle with bd Firebird and it compiles and runs normally. But when you put it on another computer it gives an error and the memory address appears. If I…
-
1
votes1
answer680
viewsMove the mouse via programming
Move mouse to control (example a button) on Delphi with Firemonkey. I tried this function: procedure TFuncoes.MouseParaControle(Controle: TControl); var // Posiciona o mouse em cima do objeto…
-
1
votes2
answers81
viewsProblem when computing average of a grid with empty numbers
I have a Stringgrid1 that I fill in the data and from that I calculate the total and the average. In image 1, I demonstrate working correctly. However I may not want to put a number in one of the…
-
0
votes1
answer879
viewshow to use SQL Server Expressions/Functions in a Tfdquery filter in Delphi
I have the following situation, I need to check if the time of a given task is no longer filled in the system and for this by performing an SQL command in SQL Server 2014 works, as in the example…
-
0
votes2
answers67
viewsError making Checkbox Visible
I am using the following code to make Checkbox visible. CheckBox: Array[1..15] of TcheckBox; procedure TForm1.edt_variavelChange(Sender: TObject); var valor,x,i : integer; if valor = 2 then begin…
-
0
votes1
answer214
viewsSum occurrences in a Memo
I have the following items in a memo: ns ns basica+textura+Al ns ns ns ns basica+textura+Al basica+textura+Al basica+textura+Al basica+textura+Al ns ns ns I wish he’d add up how many times ns…
-
0
votes1
answer147
viewscustomFormat Livebindings Couldn’t find ifthen
I’m trying to use an inverted livebindigs, that is, I have a Boolean field that comes from the database and I have to make visible a button when it comes false. I’m putting in the customformat…
-
0
votes2
answers430
viewsDelete Tedit created at runtime
At the click of the button I create some Edits... So far everything works normally, but when I try to exclude edits created by clicking another button, not all are deleted. Ex. I created 10 fields…
-
0
votes1
answer105
viewsHow to add a value to DBF
To read the file . DBF works as follows: I use a Tadoconnection, being the Connectionstring for: Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=C:\_workspace\projects\DBFEditor\temp To…
-
0
votes1
answer328
viewsHow to get the mysql table id by a combobox
My question is I have a combobox in the application and this combobox is filled with data coming from mysql database so far so good. I launch the data in a Datasource to feed the combobox but when…
-
0
votes1
answer235
viewsAdd values to cells in Stringgrid
I would like that when I click on a cell of StringGrid I could add a number and press to the side it was jumping from cell to cell, much like the excel, it is possible to do this with this…
-
0
votes1
answer453
viewsReturn number of rows or columns of an array
I have a matrix like this in Delphi XE8: Matriz[2][3]. I wonder which method can I use to return the number of rows or columns in this matrix, my idea is to loop with 2 for's and traverse the matrix…
-
0
votes2
answers639
viewsZipping files with the same name inside a folder
I would like to know if there is the possibility of the following scenario being done in Delhpi: I have a briefcase and inside it I have the following structure: foto.jpg foto.png imagem.jpg…
-
0
votes1
answer103
viewsGet the id of a Panel that is being created dynamically
I am creating several panel dynamically according to the number of entries in a database table and data: pnlBtn := TPanel.Create(Self); // Cria o um Panel pnlBtn.Parent := pnlMesas; // seta pnlMesa…
-
0
votes1
answer495
viewsFast Reports tools do not appear in the Palette tool
I am using Delphi-XE8 in a project that requires the creation of forms from DB data (Firedac), before my team used the version of Delphi-XE4, which made use of the external component Rave Reports of…
-
0
votes1
answer286
viewsRun a precedent while the component is pressed
I have a multi-device application made in Delphi-XE8, in it I have an image (TImage) of rocket and other 2 of arrows, would like the rocket moves on the x axis of the screen (Position.X), but with…
-
0
votes1
answer688
viewsQuery the webservice and populated a grid with the data
The question referring to "duplicated", is about consuming the webservice in Delphi, and in this case I already consumed, but now I need to play the data that Delphi takes from the webservice and…
-
0
votes1
answer224
viewsCustomise DB Grid with web service data
I am creating a simple system to test the operation of Delphi with Webservice REST, the first test is a database search that in this case is working all right, only that when the data is loaded in…
-
0
votes2
answers770
viewsCheck subprocess in implementation
When my application starts I need to check if a third party program is running, if not, I need to start it. The problem is that the program made in Java and when it is running it runs within Java…
-
-2
votes1
answer1983
viewsRead lines from a Txt file and play in different Edits
I have the following structure of .Txt: --------DEF-------- 3 25 3 2 46 ------PROF1---------- 0-20 cm 100% 100% 100% 10% 33% 0% 100% 0% Outro I would like it when the user chooses the option of .Txt…