Skip to main content
Table of Contents

TTMSFNCCustomControl.AllowFocus Property

When True (default) the control can receive keyboard focus. Set to False to prevent focus.

API unit family: TMSFNCCustomControl Declaring type: TTMSFNCCustomControl Inherited from: TTMSFNCCustomControlBaseCommon Type: Boolean

Syntax

FMX.TMSFNCCustomControl.hppPascalC++
property AllowFocus: Boolean;
__property bool AllowFocus = {read=GetAllowFocus, write=SetAllowFocus, default=1};

Default: True