Difference between revisions of "TDBCheckBox"
From Lazarus wiki
Jump to navigationJump to search (Created page with "'''TDBCheckBox''' image:tdbcheckbox.png is a checkbox control for use with a connected database. It is available from the Data Controls tab of the [[Component Palette]...") |
|||
Line 1: | Line 1: | ||
'''TDBCheckBox''' [[image:tdbcheckbox.png]] is a checkbox control for use with a connected database. It is available from the [[Data Controls tab]] of the [[Component Palette]]. | '''TDBCheckBox''' [[image:tdbcheckbox.png]] is a checkbox control for use with a connected database. It is available from the [[Data Controls tab]] of the [[Component Palette]]. | ||
− | To be used, a TDBCheckBox must be linked to a [[TDataSource]] component. The property ''DataField'' determines what will be displayed from the current row of the datasource. | + | To be used, a TDBCheckBox must be linked to a [[TDataSource]] component. The property ''DataField'' determines what will be displayed from the current row of the datasource. The checkbox will be checked if the corresponding datavalue matches the property ''ValueChecked'' of the TDBCheckBox control. |
== See also == | == See also == |
Revision as of 22:20, 8 August 2016
TDBCheckBox is a checkbox control for use with a connected database. It is available from the Data Controls tab of the Component Palette.
To be used, a TDBCheckBox must be linked to a TDataSource component. The property DataField determines what will be displayed from the current row of the datasource. The checkbox will be checked if the corresponding datavalue matches the property ValueChecked of the TDBCheckBox control.
See also