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 causes flickering of the form, because it recreates the window handle. If you have a Stay-On-Top-Form (ok, we’ll call…
Read more
Delphi

Working with cookies

Author: Embarcadero USA Technical Information Database TI4523D.txt - Working with cookies Category :Internet/WEB Platform :All-32Bit Product :All32Bit, Description: The purpose of this document is not to explain what a cookie is or what it is used for. Instead this document assumes that you are familiar with the use of cookies and want to know how to work with them when developing…
Read more
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