Hot Key Controls

From RAD Studio
Jump to: navigation, search

Go Up to Specialized Input Controls


Use the hot key component (THotKey) to assign a keyboard shortcut that transfers focus to any control. The HotKey property contains the current key combination and the Modifiers property determines which keys are available for HotKey.

The hot key component can be assigned as the ShortCut property of a menu item. Then, when a user enters the key combination specified by the HotKey and Modifiers properties, Windows activates the menu item.

See Also