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 restore the previous instance and shut down if I start more than one instance? Answer: Under Win16, you can check the value…
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 the start of a print job is to change the printer's devicemode structure. See: TDEVMODE in the Delphi 1.02 help file or…
Read more
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…
Delphi

Direct Commands to Printer - Passthrough/Escape

Author: Embarcadero USA Technical Information Database TI1497D.txt - Direct Commands to Printer - Passthrough/Escape Category :Printing Platform :All-32Bit Product :All32Bit, Description: Although Delphi's TPrinter unit makes it easy to interface to a given printer, there are times when you may need to drop down to the printers level and send device specific escape sequences. Under…
Read more
Delphi

Passing Multidimensional Arrays as Parameters

Author: Embarcadero USA Technical Information Database TI1477D.txt - Passing Multidimensional Arrays as Parameters Category :Object Pascal Platform :All-32Bit Product : Description: Passing an array to a procedure or function is straight forward and behaves as…
Delphi

How to dynamically create a TPageControl

Author: Embarcadero USA Technical Information Database TI1321D.txt - How to dynamically create a TPageControl Category :VCL Platform :All-32Bit Product :All32Bit, Description: This document demonstrates how to dynamically add tab sheets (TTabSheet objects) to…
Delphi

DDE: A simple example

Author: Embarcadero USA Technical Information Database TI1177D.txt - DDE: A simple example Category :Delphi 1.x Platform :All Windows Product : Description: Q: How can I do DDE under Delphi using API calls ? A: Its fairly easy to accomplish, following is an example of how to have a client program talk with a server program. Both are completely written in Delphi. In total there are 2…
Read more