Questions tagged as 'delphi'

1
answer

Problem with FOR loop interaction using TStringList

I have TStringList that stores absolute path names of some files and I want to put those names in a text file only if the current checked name does not yet exist inside a text file. When you perform these steps for the first time, all...
asked by 23.04.2016 / 13:24
1
answer

Fill a Listbox with Paradox Database (Delphi)

Good afternoon, friends. I'm having trouble filling a listbox with information from a Paradox Database table, the Data Source is the "Gap03Dm.SourceChaves" file and the DataField is "Field". How to make?     
asked by 14.03.2016 / 18:18
2
answers

How to create SQLITE BLOB fields with delphi

I'm developing an android APP via delphi. I have recently tried to create a BLOB-type field in my SQLITE database at the moment when I do ShowMessage(query.FieldByName('imagem').ClassName); (I ask the data type of the field) returns me as T...
asked by 20.01.2016 / 16:36
1
answer

Delphi: idHTTP.Post HTTP / 1.1 error 401

I am trying to access idHTTP from Delphi on a json server without success. I've tried all the alternatives and I always have the same error: "HTTP / 1.1 401 Unauthorized". Json format submitted for testing:    {"http": {"method": "POST", "...
asked by 28.01.2016 / 15:04
2
answers

Delphi - Thread exception handling

I wrote a thread in Delphi with exception handling, but when the exception happens the operation is aborted and does not fall into the except block. Is there any specific handling of exceptions within threads? procedure TThreadEnvioJSONsWS.Exe...
asked by 04.01.2016 / 12:26
1
answer

how to use Expresso / SQL Server Functions in a filter of a TFDQuery in delphi

I have the following situation, I need to check if the time of a certain task is not already filled in the system and for this by performing a SQL command in SQL Server 2014 works, as in the example Select (cast((convert(datetime,hora,108)) +'...
asked by 04.01.2016 / 18:38
2
answers

QuickReport Save PDF by Padrao

My reports always have the TQRPDFfilter component, so they can be exported to PDF. However, the customer is complaining that when he clicks save, he still has to select the format he wants to save (in this case, pdf), because he always comes as...
asked by 11.02.2016 / 13:49
1
answer

Function does not find text in Tedit

With the code below I'm trying to find text in a Tedit , procedure TForm2.CheckBox3Click(Sender: TObject); var i: integer; begin existeCampo := false; begin for i := 1 to form1.variavel do begin if TEdit...
asked by 11.02.2016 / 19:11
2
answers

Error making CheckBox visible

I'm 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 for i := 1 to 2 do b...
asked by 02.02.2016 / 14:11
1
answer

TWebBrowser does not load google map tiles

I have an asp page that worked normal for TWebBrowser (Delphi-XE7) until this morning, but now loads all the added points, but the tiles do not. If you move the zoom loads normal from there, but every time I update comes without Only occurs i...
asked by 18.02.2016 / 18:26