I want to know the currently active form of my application (returned as a TForm). The API function GetActiveWindow looks hopeful, but the HWnd it returns doesn't match any handle of forms in Delphi. The only other way I can think of is to set a global variable in every OnActivate event of all forms.
Is there a better way? Something like TApplication.ActiveForm would be nice!
We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.
Creating an auto free TStringList
The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list.
In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load?
This is the article to read if you want to learn some things about adding threads for data loading in the background.
First, I'll setup a general applica…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.