FMX.Controls.TControl.SetFocus

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure SetFocus;

C++

void __fastcall SetFocus(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Sets the focus to the current control, if CanFocus is True. When the current control receives focus, the OnCanFocus event is triggered.

See Also