JVCL Help:TJvDatePickerEdit.ClickKey

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies the key combination users can type to simulate a button click.


Pascal

 propertyClickKey: TShortCut;


Description

Use ClickKey to allow the user to type a key combination instead of clicking the control's button.
When setting shortcuts at design time, the Object Inspector provides a long list of key combinations to choose from. To create shortcuts at runtime, use the global ShortCut or TextToShortCut function from Menus.pas. For example, the following line creates a shortcut, Ctrl+C and assigns it to a combo edit control named JvComboEdit1.
JvComboEdit1.ClickKey := ShortCut(Word('C'), [ssCtrl]);


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page