System.Actions.TContainedAction.HandleShortCut

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HandleShortCut: Boolean; virtual;

C++

virtual bool __fastcall HandleShortCut();

Properties

Type Visibility Source Unit Parent
function protected
System.Actions.pas
System.Actions.hpp
System.Actions TContainedAction

Description

Executes the action when the user types one of its shortcuts.

HandleShortCut calls System.Classes.TBasicAction.Execute to cause the action to perform its function. HandleShortCut returns the value that System.Classes.TBasicAction.Execute returns.

Descendant classes can override HandleShortCut to respond in other ways when the user types the action's shortcut keys.