Show: Delphi C++
Display Preferences

Vcl.Controls.TWinControl.SetFocus

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetFocus; virtual;

C++

virtual void __fastcall SetFocus();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Gives the input focus to the control.

Use SetFocus to change input focus to the control. When a control has focus, it receives keyboard events.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance