General Interface is an open source project hosted by the Dojo Foundation

Assigning Hot Keys to Buttons

Hot keys can be assigned to any of the following button components by modifying the Key Binding property in the Properties Editor palette:

  • Button
  • ImageButton
  • ToolbarButton

To assign a hot key to a button:

  1. Open the System > Form Elements folder of the Component Library palette.
    To add a ToolbarButton component, open the System > Menus and Toolbars folder.
  2. Drag and drop a Button component onto your application.
  3. Select the Button component in the Live Component view of the work area or the Component Hierarchy palette.
  4. Modify the Key Binding property as follows:
    1. Open the Property Editor palette and click in the Key Binding value field.
    2. Type in a hot key, such as ctrl+shift+enter. It's recommend that you test the hot key before assigning it to be sure it's not already used.

To test the hot key:

  1. Click anywhere in the Live Component view of the work area to give focus to your application.
    Don't click the button as this will activate it.
  2. Press ctrl+shift+enter on the keyboard to test the button functionality.

Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.