FMX.Grid.Style.TStyledGrid.SetFocus
Delphi
procedure SetFocus;
C++
HIDESBASE void __fastcall SetFocus(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Grid.Style.pas FMX.Grid.Style.hpp |
FMX.Grid.Style | TStyledGrid |
Description
Sets the focus to the current control, if CanFocus is True.
FMX.Grid.Style.TStyledGrid.SetFocus inherits from FMX.Controls.TControl.SetFocus. All content below this line refers to FMX.Controls.TControl.SetFocus.
Sets the focus to the current control, if CanFocus is True. When the current control receives focus, the OnCanFocus event is triggered.