FMX.Controls.TControl.CheckForAllowFocus

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function CheckForAllowFocus: Boolean;

C++

bool __fastcall CheckForAllowFocus(void);

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.

See Also