Delphi

The Trouble of Measuring Programming Language Popularity

TIOBEis one of manyprogramming language popularity indexes. Their methodology involves doing a search across various search engines with the name of a programming language followed by the word programming. So they look for “Delphi Programming” as an exact phrase, ignoring any Delphi related pages that don’t include that phrase (which is a lot of them). Other…
Read more
Delphi

Making "Stay-on-top-forms" do want you want

Author: Embarcadero USA Delphi supports this type of forms by providing the FormStyle property for the TForm class. All you have to do is to set this property to fsStayOnTop. So why did I write this article? Well, there are a few things to consider: Using fsStayOnTop…
Delphi

Custom InPlace Editor in StringGrid

Author: Embarcadero USA Question and Answer Database FAQ2434D.txt Custom InPlace Editor in StringGrid Category :VCL Platform :All Product :Delphi 3.x Question: How can I popup my own inplace editor (such as a combobox) in a string grid cell? Answer: The…
Delphi

Detecting tab key press

Author: Embarcadero USA Question and Answer Database FAQ2060D.txt Detecting tab key press Category :VCL Platform :All Product :All 32 bit Question: Since the KeyPress and the KeyDown events do not get called for the tab key, how do I trap the tab key at the form level? Answer: At form level, the tab key is generally handled by Windows. The following example demonstrates…
Read more
Delphi

Extracting Icons

Author: Embarcadero USA Question and Answer Database FAQ1778D.txt Extracting Icons Category :Windows API Platform :All Product :All 32 bit Question: How can I use the undocumented ShellAPI function ExtractIconEx() to extract the small and large icons from a…
Delphi

Using WM_COPYDATA.

Author: Embarcadero USA Question and Answer Database FAQ1525D.txt Using WM_COPYDATA. Category :Windows API Platform :All Product :All 32 bit Question: How can I use the WM_COPYDATA message to pass information between 16-bit and 32-bit…
Delphi

Does Delphi have an equivalent to the Visual Basic SendKeys function?

Author: Embarcadero USA Question and Answer Database FAQ1500D.txt Does Delphi have an equivalent to the Visual Basic SendKeys function? Category :VCL Platform :All Product :All 32 bit Question: Does Delphi have an equivalent to the Visual Basic SendKeys function? Answer: The following example demonstrates procedures that provide the capibility of sending keystrokes to any window…
Read more
Delphi

Preventing multiple application instances

Author: Embarcadero USA Question and Answer Database FAQ1355D.txt Preventing multiple application instances Category :Windows API Platform :All Product :All 32 bit Question: How can I guarantee that only one instance of my program executes? Is it possible to…
Delphi

Hiding your application from the Windows Taskbar.

Author: Embarcadero USA Question: How do I hide my application from the Windows Taskbar? Answer: It is possible to have your application running without an icon appearing in the task bar. Here’s how to do this: In Delphi go to the menu option Project -> View Source. Add the Windows unit to the uses clause. Add Application.ShowMainForm := False; to the line…
Read more