Skip to main content
Table of Contents

ITMSFNCShortCutHint.HasShortCut Method

Determines whether the control is associated with the given shortcut string.

API unit family: TMSFNCCustomControl Declaring type: ITMSFNCShortCutHint

Syntax

FMX.TMSFNCCustomControl.hppPascalC++
function HasShortCut(AShortCut: string): Boolean;
virtual bool __fastcall HasShortCut(System::UnicodeString AShortCut) = 0;

Parameters

Name Description
AShortCut Shortcut string to test, in the format used by the menu system.

Returns

True if the shortcut belongs to this control; False otherwise.