[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Updates the value for the control when the linked dataset is changed.
Source position: dbctrls.pp line 1104
protected procedure TDBGroupBox.DataChange( |
Sender: TObject |
); |
Sender |
|
Object for the event notification. |
DataChange is a procedure used to update the value displayed for the control when its linked dataset has been changed.
DataChange is used as the OnDataChange event handler in the internal TFieldDataLink instance used in the class. It is called after navigating to a different record in the linked dataset, or when the value for the DataField has been changed in program code.
DataChange uses the Field definition (when assigned) to get the value for the Caption in the control. When the Field has not been assigned, the Caption is set to an empty string ('').
|
Text displayed as the caption for the control. |
|
|
Contains the name of the field with the value for the control. |
|
|
Provides access to the dataset with content for the control. |
|
|
The Field to which the datalink is attached. |
|
|
Maintains an association between a control, an action, and a field in a linked dataset. |
Version 4.0 | Generated 2025-05-03 | Home |