Questions tagged as 'delphi'

1
answer

Enable and disable Ttimer

How to enable and disable TTimer ? I have procedure : procedure TForm3.Timer1Timer(Sender: TObject); When I click on a download button, I enable Timer : Timer1.enabled := true; And when I click cancel it should stop...
asked by 20.11.2014 / 14:36
2
answers

How to disable windows update in Delphi

I needed to somehow disable windows update with a project in Delphi. I've searched the internet but I still can not find anything for that purpose. Can anyone give me a hand or an idea how to do it?     
asked by 27.09.2017 / 15:53
2
answers

What are the advantages and disadvantages of creating a Windows service

I want to know the advantages and disadvantages of creating a Windows service and if: If it is easy to maintain; If anyone ever had problems with this; If you require any specific knowledge, other than the programming language.
asked by 20.11.2017 / 13:16
1
answer

UX Interface in Delphi [closed]

Working as a UX designer, I now have to develop a good interface to the Delphi system in the company. Can I make animations and changes, like I did on the web part?     
asked by 02.04.2018 / 19:24
2
answers

How to disable AutoCommit on FireDac

How would it be to disable AutoCommit type: FDTable1.AutoCommit := False; or FDconection.AutoCommit := False; I'm not finding it.     
asked by 04.07.2017 / 16:05
2
answers

Field Size error when executing Insert in PostgreSQL in Delphi application

I have a problem that could only be happening on a Friday # 13. I have a Delphi application that controls SEDEX submissions and I use the PostgreSQL Database. In a given column, called sdx_cepnet , I store the information that the Barcode...
asked by 13.11.2015 / 23:02
1
answer

How to execute a procedure only when the previous procedure is finished?

I have 2 procedures, one compiles the file and the other sends the file to FTP, but the upload procedure is running concurrently with the compression procedure, and tries to send the file before the compression finishes. > procedure TForm2.comp...
asked by 24.09.2018 / 23:25
4
answers

Incompatible types: PWideChar and TCaption

I need to solve this and I can not, I have a variable that loads a DLL with LOADLIBRARY, when I put the path that is in the DLL (which stays inside an edit) it gives the error above the topic. ERROR: Incompatible types: PWideChar and TCaption...
asked by 23.10.2015 / 22:05
2
answers

Locate for two fields

How to do a search with Locate with two or more fields simultaneously? What are the disadvantages of doing this?
asked by 25.11.2017 / 12:36
3
answers

Multiple lines in a ShowMessage in Delphi

I need to trigger an error message if the user tries to insert invalid codes into a temporary table in the grid . The codes come from a .txt . The codes triggered on the monitor are ok but the message is repeated n times as there are n in...
asked by 16.12.2016 / 22:10