[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Updates the control display value when the linked dataset is changed.
Source position: dbctrls.pp line 668
protected procedure TDBCheckBox.DataChange( |
Sender: TObject |
); |
Sender |
|
Object for the event notification. |
DataChange is used to perform actions needed when the linked dataset for the control has been changed. In TDBCheckBox, this requires setting the State property for the control. DataChange calls the GetFieldCheckState method to get the value for the State property.
DataChange is assigned as the OnDataChange event handler in the internal TFieldDataLink instance.