[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TCustomForm.DefocusControl

Updates ActiveControl if it is to be defocused.

Declaration

Source position: forms.pp line 621

public procedure TCustomForm.DefocusControl(

  Control: TWinControl;

  Removing: Boolean

);

Arguments

Control

  

The control that looses the focus.

Removing

  

True when the control is removed.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.