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

TCustomForm.SetFocusedControl

Handles a focus change for a control (enter/exit messages).

Declaration

Source position: forms.pp line 736

public function TCustomForm.SetFocusedControl(

  Control: TWinControl

):Boolean; virtual;

Arguments

Control

  

The control with focus on the form.

Function result

False when the focused control cannot be changed.


Version 3.2 Generated 2024-02-25 Home