TDBGroupBox.DataChange procedure
Updates the value for the control when the linked dataset is changed.
Declaration
procedure DataChange(Sender: TObject)Arguments
Sender | Object for the event notification. |
Description
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 ('').
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
