Questions tagged as 'delphi'

1
answer

How to traverse a property of type TObjectList via Rtti?

My class has a property of type TObjectList: TBaseModelo = class(TInterfacedPersistent) public property ListaCamposValidacao: TObjectList<TCampoValidacao> read FListaCamposValidacao write FListaCamposValidacao; end; I need, throug...
asked by 26.11.2014 / 18:12
3
answers

How to compare the difference between two dates in Delphi?

I need to compare 2 dates to see if the expiration date is Bigger than the current date, if it is Minor it returns an error, follows the code I made and did not work.   var Data_Atual: String; Data_vencimento: String; begin Data_Atual...
asked by 27.05.2014 / 23:11
3
answers

Display Animated Form (GIF) while a while is executed

In the application I'm developing, I need to check if a process is running on the system, so I use a IsRunningProcess function. However, I'd like to display a form ( FormProgress ) that contains a loading gif while a specific process runs...
asked by 19.10.2014 / 19:09
2
answers

Fill in a Word document from Delphi

I want to create a system in Delphi , where I fill in the labels and after creating a document in word with the information that I typed ... I put an example below where I'm going to enter the information and when I generate it i...
asked by 16.05.2014 / 02:11
3
answers

How to make a Delphi application run as an administrator?

I'm using Delphi XE4 and I have no idea how to make an application ask administrative permission to Windows 7 to run, I looked at websites and bolgs, but I did not find the answer! Help me please!     
asked by 29.05.2015 / 21:28
1
answer

Error getting version of Windows 10 with delphi

I'm trying to get the version of Windows 10 on my system, but the maximum it displays is Windows 8. Nor does it 8.1 it displays. I could not find the error. // Função Sistema Operacional function WinVersion: string; var VersionInfo: TOSVersi...
asked by 13.12.2015 / 14:07
2
answers

Auto build tool for Delphi

Are there applications for automatic build, such as FinalBuilder , and Free or Open-Source ? Preferably I support old and new versions of Delphi . What would these be?     
asked by 16.04.2014 / 21:22
3
answers

Because there are two uses in delphi

Why are there two uses in Delphi units? One logo under interface and another logo in implementation , what is the purpose?     
asked by 18.07.2016 / 21:18
2
answers

Dll C # in Delphi 7

I need to generate a "ini" file in the "C: \ Windows \ Temp \ USB.ini" folder containing printer information installed for another pre- historic consume. I created the following (gambiarra) dll in C #: [ClassInterface(ClassInterfaceType...
asked by 05.03.2014 / 15:17
1
answer

Paint DBGrid lines when selecting them

I'm painting the lines of a
asked by 07.04.2014 / 15:03