Difference between revisions of "TDBCheckBox"
From Free Pascal 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]...") |
m |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{TDBCheckBox}} | ||
+ | |||
'''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 == | ||
Line 7: | Line 9: | ||
* [[TDataSource]] | * [[TDataSource]] | ||
* [[TCheckBox]] | * [[TCheckBox]] | ||
+ | * [[TCheckBoxThemed]] | ||
{{LCL Components}} | {{LCL Components}} | ||
− | |||
− |
Latest revision as of 11:04, 22 July 2017
│
English (en) │
français (fr) │
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