Show: Delphi C++
Display Preferences

Vcl.DBCtrls.TDBImage.DataSource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataSource: TDataSource read GetDataSource write SetDataSource;

C++

__property Data::Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBImage

Description

Links the image control to a dataset.

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;



See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance