Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++

Writing a VCL component in C++ which defines its own events

Author: Embarcadero USA Question and Answer Database FAQ2369C.txt Writing a VCL component in C++ which defines its own events Category :VCL Platform :All Product :C++Builder 3.x Question: I have scoured the Borland BCB docs and the net and I really haven't found a good example of writing a VCL component in C++ which defines its own events (an event not overriding any ancestor class…
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…
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

Displaying the selected row of a DBGrid in a different color

Author: Embarcadero USA Question and Answer Database FAQ711D.txt Displaying the selected row of a DBGrid in a different color Category :Database/VCL Platform :All Product :Delphi 3.x Question: How can I show selected row in a dbgrid in a different color without using dgRowSelect (because I need to edit the data)? Answer: If you want to color the selected row in a DBGrid but you…
Read more

IN THE ARTICLES