FMX.Controls.TControl.CheckForAllowFocus
Delphi
function CheckForAllowFocus: Boolean;
C++
bool __fastcall CheckForAllowFocus();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TControl |
Description
Verifies whether the current control can receive focus.
A control can receive focus if the ParentedVisible, CanFocus, and AbsoluteEnabled properties are True.
CheckForAllowFocus returns True if the control can receive focus, and False otherwise.