RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBImage.AutoDisplay Property

Determines whether to automatically display the contents of a graphic BLOB in the database image control.

Pascal
property AutoDisplay: Boolean;
C++
__property Boolean AutoDisplay;

If AutoDisplay is true (the default value), the image automatically displays new data when the underlying BLOB field changes (such as when moving to a new record). 

If AutoDisplay is false, the image clears whenever the underlying BLOB field changes. To display the data, the user can double-click on the control or select it and press Enter. In addition, calling the LoadPicture method ensures that the control is showing data. 

Change the value of AutoDisplay to false if the automatic loading of BLOB fields seems to take too long. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!