RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBImage Class

TDBImage represents a graphic image from a BLOB (binary large object) field of the current record of a dataset.

Pascal
TDBImage = class(TCustomControl);
C++
class TDBImage : public TCustomControl;

Use TDBImage to represent the value of graphic fields. TDBImage allows a form to display graphical data from a dataset. TDBImage can allow the user to edit graphical data using the clipboard. While the application is running and the database image control has focus, users can cut, copy, and paste using the standard Windows accelerator keys (Ctrl+X, Ctrl+C, and Ctrl+V). Users can return to the original state of the database image control by pressing Esc before moving to another record. 

If the application doesn't require the data-aware capabilities of TDBImage, use an image control (TImage) instead to conserve system resources. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!