You are viewing articles in the Delphi / Kylix IDE category &rarr


How to Find Out if Delphi is Running

Posted December 15th @ 9:29 pm by m3Rlin

You may want your program to check if Delphi is running. Well, if so try out this code. This is the method for programs:

function IsDelphiRunning: Boolean;
begin
Result := (FindWindow(’TAppBuilder’, nil) > 0);
end;
If you want to check if Delphi is running and you are creating VCL components then you should check for the csDesigning flag.
Here’s [...]

How to Obtain all Characters in Delphi 4+ IDE

Posted December 15th @ 4:12 pm by m3Rlin

Starting with Delphi 4 certain shortcuts have changes and/or been added that make it hard to put certain letters into the Code Editor or Object Inspector. For example the Polish letter “ś” is entered by pressing Alt + S. Well, Delphi doesn’t make this possible because Alt + S is already assigned as an IDE [...]

« Previous Entries