Show: Delphi C++
Display Preferences

FMX.Controls.TControl.CanFocus

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

Personal tools
In Other Languages
Previous Versions
Assistance