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
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

Hiding your application from the Windows Taskbar.

Author: Embarcadero USA Question: How do I hide my application from the Windows Taskbar? Answer: It is possible to have your application running without an icon appearing in the task bar. Here’s how to do this: In Delphi go to the menu option Project -> View Source. Add the Windows unit to the uses clause. Add Application.ShowMainForm := False; to the line…
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

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 expected. However, passing a multi-dimensional array to a function or procedure is not handled in the same way. Consider…
Read more
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…
Delphi

Validating input in TEdit components

Author: Embarcadero USA Technical Information Database TI1171D.txt Validating input in TEdit components Category :VCL Platform :All Product :Delphi All Description: Q: How can I validate input in my TEdit components? A: Assuming you're using regular TEdit components, during OnExit, you will see irregular behavior from controls if you attempt to change focus at that…
Read more