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
Delphi

Changing the papersize of a print job.

Author: Embarcadero USA Question and Answer Database FAQ603D.txt - Changing the papersize of a print job. Category :Printing Platform :All-32Bit Product : Question: How can I change the papersize of my print job? Answer: One way to change printer settings at…
Delphi

Implementing TCollection

Author: Embarcadero USA Technical Information Database TI1647D.txt - Implementing TCollection Category :ActiveX/OLE/COM/ActiveForm Platform :All-32Bit Product :All32Bit, Description: This document is intended for those needing to descend from a class that manages an array of lightweight persistent objects of the same type. The class that best accomplishes this is TCollection…
Read more
C++

Playing a WAV from a resource.

Author: Embarcadero USA Question and Answer Database FAQ498C.txt Playing a WAV from a resource. Category :Windows API Platform :All Product :C++Builder 1.x Question: How do I play a sound from a resource? Answer: We haven't been able to get the SND_RESOURCE…
C++

Displaying an error string from GetLastError.

Author: Embarcadero USA Technical Information Database TI2459C.txt Displaying an error string from GetLastError. Category :General Platform :All Product :Borland C++ All Description: Displaying an Error Message with GetLastError GetLastError is a WIN32…
C++

Linking to Functions in Third-Party DLLs

Author: Embarcadero USA Technical Information Database TI2407C.txt Linking to Functions in Third-Party DLLs Category :General Platform :All Product :Borland C++ All Description: Linking to Functions in Third-Party Dynamic Link Libraries ======= == ========= == =========== ======= ==== ========= The use of dynamic link libraries, or DLLs, is fundamental to Windows…
Read more
C++

Filtering Your DataSet in C++Builder

Author: Embarcadero USA Technical Information Database TI2367C.txt Filtering Your DataSet in C++Builder Category :General Platform :All Product :C++Builder All Description: Filtering your DataSet In C++ Builder Filtering lets you specify criteria to…
C++

Converting an AnsiString to Char*

Author: Embarcadero USA Question and Answer Database FAQ1360C.txt Converting an AnsiString to Char* Category :VCL Platform :All Product :C++Builder 1.x Question: I am trying to convert a String to char* but keep receiving the error: "Cannot cast…
C++

C++Builder WinExec() and CreateProcess()

Author: Embarcadero USA Question and Answer Database FAQ1378C.txt C++Builder WinExec() and CreateProcess() Category :Windows API Platform :All Product :C++Builder 1.x Question: I am updating my code for Win32 and changing my WinExec() calls to CreateProcess() and having trouble. There is so much more to setup. Can you supply an example? Answer: void…
Read more