[Overview][Constants][Types][Classes][Procedures and functions][Index] |
LayoutChanged- called if layout is changed: tests validity of field then calls OnLayoutChange event handler.
Source position: dbctrls.pp line 71
protected procedure TFieldDataLink.LayoutChanged; override; |
LayoutChanged is an overridden procedure called when the field binding in the linked dataset for a data-aware Control has been changed. LayoutChanged calls the ValidateField method to ensure that the Field is valid / up-to-date, or set to Nil when the FieldName does not exist in the linked dataset. If the Field is assigned (not Nil), the EditingChanged and RecordChanged methods are called.
Remark: | LayoutChanged does not call the inherited method. |
LayoutChanged is used primarily in the implementation of methods in TCustomDBGrid and descendent classes.
|
The Control to which this datalink is attached. |
|
|
The Field to which the datalink is attached. |
|
|
FieldName - the name of the attached field, stored as a string. |
|
|
EditingChanged - method for processing changes in the Editing property. |
|
|
RecordChanged - triggered if the contents of the current record change; calls Reset. |
|
|
TCustomDBGrid is the base class for TDBGrid. |
Version 4.0 | Generated 2025-05-03 | Home |