FMX.Types.IControl.CheckForAllowFocus
Delphi
function CheckForAllowFocus: Boolean;
C++
virtual bool __fastcall CheckForAllowFocus() = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IControl |
Description
Verifies whether the current control can receive focus.
Implement this function to check whether the current control can receive focus.
For example, as implemented by TControl, a control can receive focus if the ParentedVisible, CanFocus, and AbsoluteEnabled properties are True.