FMX.Controls.TControl.CanFocus

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property CanFocus: Boolean read FCanFocus write FCanFocus default False;

C++

__property bool CanFocus = {read=FCanFocus, write=FCanFocus, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Specifies whether the current control can receive focus.

CanFocus is True if it can receive focus, and False otherwise.

If it is set to False, the control cannot be selected when using the TAB key.

A control can receive focus after it is created.

See Also