Questions tagged as 'delphi'

1
answer

Doubt with TreeView manipulation and delimited TXT files

I'm having a little difficulty with Delphi, I'm creating a very basic little application for managing accounts, games, emails, etc. It's pretty basic .. and I decided to use the TreeView schema as a list basis for the accounts, but I'm having a...
asked by 05.05.2018 / 18:15
1
answer

Difficulty creating a property for a CLASS

I'm using DELPHI 7 trying to create a class with the following structure Type Tclasse_Envio_JSON = class(TThread) private fCampos: Array of Variant; fIdade : Integer; fNome : String[40]; function Get_Idade: Integer;...
asked by 25.04.2018 / 13:02
1
answer

Syntax error: then but then

I do not know what's happening, each line has a different error. Missing then or passing then , otherwise missing ; program Untitled; var peso:real; altura:real; idade:integer; begin writeln('di...
asked by 11.03.2018 / 18:31
1
answer

How to use FreeAndNil in this case?

I have the following routine that destroys the forgotten forms opened by the user: ... for i := qtd - 1 downto 0 do begin if (Application.components[i] is TForm) then begin...
asked by 21.02.2018 / 15:33
1
answer

Change a record with a REST WebService

I'm trying to change my bank's registry via a webservice rest in java, the tests in webservice worked, but on the client I'm having trouble working. Note: I use Delphi XE8 (Client) and Netbeans (WS) WS: @PUT @Consumes(MediaType.APPLI...
asked by 07.02.2018 / 13:55
1
answer

How to delete directories containing sub directories and files on an FTP server in Delphi?

I've been trying to get my Delphi 2010 application to remove a directory on an FTP server, I've used TIdFTP for this task with the "RemoveDir" command, but the process fails, because according to the application the directory does not is empty....
asked by 02.02.2018 / 15:28
1
answer

Consume WebService in delphi

I created a REST webservice using JAVA, however I need to make a client in Delphi consume this webservice, I tried to make several video classes I found through google, but none was useful. I created a simple webservice to test this communica...
asked by 01.02.2018 / 17:39
1
answer

Word as the basis for a delphi report that has detail

I have a standard word document used in the company to make a presence list in training, but now they want to generate this list, with the names of the participants, already filled through the system in delphi 6. I saw here in the forum how to i...
asked by 21.12.2017 / 13:14
2
answers

Set Enabled ActionList Property to True

I store in a table the name of my Actions, and dynamically through a query, I return them on screen, as follows: I declare a variable of the type: MinhaACL : TAction; Begin MinhaACL := TAction(qryActions.FieldByName('nomeacl').Asstring)...
asked by 20.02.2018 / 16:27
1
answer

Debug Delphi keeps stopping even after breakpoint removal?

My Delphi XE is a bit crazy, there are some Units that persist in making the stops even after I remove the Breakpoint (F5) from the line, someone went through it and managed to solve it, already exclude the DCUs and recompilei and nothing. p>...
asked by 20.02.2018 / 16:27