FMX.Controls.TControl.SetFocus
Delphi
procedure SetFocus;
C++
void __fastcall SetFocus();
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.