RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBImage.Field Property

Specifies the TField component the database image is linked to.

Pascal
property Field: TField;
C++
__property TField Field;

Read Field to get direct access to the contents and properties of the database field without going through the image control's window. Use Field to change the contents of the database field programmatically. Use the Picture property to set the value of the field and display it in the image control's window.

(DBEdit1.Field as TBlobField).Assign(Image1.Picture.Bitmap);

 

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