RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBImage.DataSource Property

Links the image control to a dataset.

Pascal
property DataSource: TDataSource;
C++
__property TDataSource DataSource;

Use DataSource to link the image control to a dataset in which the data can be found. To fully specify a database field for the image control, both the dataset and a field within that dataset must be defined. Use the DataField property to specify the particular field within the dataset.

DBImage1.DataSource := DataSource1;

 

DBImage1->DataSource = DataSource1;

 

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