GetFieldCheckState - returns the checkbox state for the current field.
Source position: dbctrls.pp line 667
protected function TDBCheckBox.GetFieldCheckState: TCheckBoxState; virtual; |
Current TCheckBoxState for the control.
GetFieldCheckState is a TCheckBoxState function used to get the current state for the checkbox. GetFieldCheckState uses the internal TFieldDataLink instance in the class to access the Field in the linked dataset represented by DataField.
The field value is examined to get the return value for the method. The return value can be one of the following:
The return value is assigned to the State property when the DoOnChange and DataChange methods are executed.