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 following example demonstrates popping up a Combobox as an inplace editor to a Stringrid component. Example: procedure…
Read more
C++

How to put a progress bar on a Status Bar ...

Author: Embarcadero USA Question and Answer Database FAQ2293C.txt How to put a progress bar on a Status Bar ... Category :VCL Platform :All Product :C++Builder 3.x Question: How Do I put a Proress bar on a status bar. Answer: Here is an example: This is the form: object Form1: TForm1 Left = 191 Top = 108 Width = 226 Height = 140 Caption = 'Form1' Font.Charset =…
Read more
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…
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 applications? Answer: The following example shows how to use the WM_COPYDATA message to send a record containing data between a 16-bit and 32-bit…
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

Save and load metafiles in a BLOB field without using DBImage

Author: Embarcadero USA Question and Answer Database FAQ878D.txt Save and load metafiles in a BLOB field without using DBImage Category :VCL Platform :All Product :All 32 bit Question: How can I save and load metafiles in a BLOB field without using the DBImage component? Answer: The following example demonstrates saving metafile images to a database as they exist on the disk…
Read more