Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomForm.SetFocusedControl

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

Declaration

Source position: forms.pp line 730

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.



CT Web help

CodeTyphon Studio