JVCL Help:TJvDirectoryEdit.ClickKey - Project JEDI Wiki

JVCL Help:TJvDirectoryEdit.ClickKey

From Project JEDI Wiki

Jump to: navigation, search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Contents

[edit] Summary

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


[edit] Pascal

 propertyClickKey: TShortCut;


[edit] 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]);


[edit] About

[edit] 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

Personal tools
Navigation
Project JEDI
Code Library
Visual Component Library
Version Control System
Math Library
Code Formatter