Vcl.DBCtrls.TDBImage.DataField
Delphi
property DataField: string read GetDataField write SetDataField;
C++
__property System::UnicodeString DataField = {read=GetDataField, write=SetDataField};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBImage |
Description
Specifies the field from which the database image displays data.
Use DataField to bind the image control to a field in the dataset. To fully specify a database field, both the dataset and the field within that dataset must be defined. The DataSource property of the image control specifies the dataset which contains the DataField. DataField should specify a graphic field.
DBImage1.DataField := 'Portrait';
DBImage1->DataField = "Portrait";
See Also
Code Examples