Skip to content

TField.FocusControl

Set focus to the first control connected to this field.

Declaration

Source position: db.pas line 421

public 
procedure TField.FocusControl;

Description

FocusControl will set focus to the first control that is connected to this field.

Errors

If the control cannot receive focus, then this method will raise an exception.

See also

Name Description
TDataset.EnableControls Enable event propagation of controls.
TDataset.DisableControls Disable event propagation of controls.