Questions tagged as 'delphi'

1
answer

CheckList Box Delphi how to get the Item String that is checked

I'm having a problem getting the CheckListBox string that is selected. how can i solve the problem var setores : array of string for I := 0 to auditoriaDeEPIFrm.lckCheck.Items.Count - 1 do begin if auditoriaDeEPIFrm.lckCheck...
asked by 06.04.2017 / 16:05
1
answer

Error saving data from a RadioGroup

I have a problem saving the information I select to a RadioGroup in the Database, after making the change that was suggested in this
asked by 11.01.2017 / 19:23
1
answer

Error changing old Bank data

With the help of this answer I was able to edit the data that I enter in the database, but the old data that is already registered, when I try to change the register, the program continues to close by itself and when debugging displays the fol...
asked by 13.01.2017 / 17:30
2
answers

How to return image from DataSnap Server and show in browser

I developed an application made with Web Service REST , where the data is consumed for each client request, everything works perfectly, I created Web Service REST from DataSnap REST Application , so a form is available to dete...
asked by 21.10.2016 / 15:56
1
answer

Modify URLs for REST requests

I have a service running in Delphi in DataSnap REST , to access any function of REST via link would be like this: servidor:porta/datasnap/rest/classmethods/funcao/parametros I needed to change the url from /datasnap/rest/clas...
asked by 07.10.2016 / 14:52
1
answer

Display text field in dbgrid Delphi

I have DBGRID , and I need to show a field of type text , but when it shows, it appears (MEMO) instead of the text that was meant to be How do I make it appear? Note: I can not change the database field from text to varchar...
asked by 12.09.2016 / 19:24
1
answer

How to make an insert in mysql with data coming from a SimpleDataSet

I have a SimpleDataset with data from a Firebird location. I have to make a Insert in Mysql . How do I do this? Other SqlConnect and another SimpleDataSet ? How to do insert with data from this SimpleDataSet ( firebi...
asked by 14.07.2016 / 01:56
1
answer

Display current page number in a dbChart

I have dbChart displaying the data on multiple pages. In a specific graph, for example, there are thirty points to be displayed, but in the MaxPointsPerPage property only 10 (ten) points per page. I created navigation buttons betwe...
asked by 11.11.2016 / 13:15
2
answers

Windows Folder Directory

I'm developing an application that references local directories on my computer. If I try to run the application on another computer, the references are lost. nmArquivo := 'C:\Users\Admin\Desktop\Protetor de Tela\Img.txt'; nmArquivoImgAtual :=...
asked by 24.06.2016 / 20:24
4
answers

Leave function running in loop until application close

I have the following code that changes image from time to time. if Timer1.enabled = true then begin Gauge1.Progress := Gauge1.Progress +1; if Gauge1.Progress=10 then Image1.Picture.LoadFromFile('C:\contas_a_pagar\img\home.jpg'); if Gau...
asked by 06.06.2016 / 14:24