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

TCustomForm.SetFocusedControl

Handles focus switch to a control (enter/exit messages).

Declaration

Source position: forms.pp line 641

public function TCustomForm.SetFocusedControl(

  Control: TWinControl

):Boolean; virtual;

Arguments

Control

  

The control that received the focus

Function result

False when no switching allowed

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