TFieldDataLink.FocusControl procedure
FocusControl gives the input focus to the data-aware control in
the class instance.Declaration
procedure FocusControl(aField: TFieldRef); overrideArguments
aField | Reference to the field expected for the focused control. |
Description
FocusControl is an overridden procedure used to give input focus
to the data-aware
Control for the class instance.
AField is a reference to the
TField which defines the
field for the data-aware control. AField must be assigned, and point to the
Field used in the class instance. No actions are performed in the
method if either condition is not met.
FocusControl can be used for any Control descended from TWinControl where its CanFocus value is True; the SetFocus method in the Control is called to receive the input focus.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
