ban2/png

tutor/gif
Home

cell/gif

Adding keypress shortcuts

cell/gif
1/gif Open the resfile display for Example 1.4
resf/gif
2/gif Set the window's default input focus
  1. Open the window's main edit dbox
    Double-click the window's template followed by double-clicking the window which opens
  2. Select Invisible caret as the Default input focus focus/gif
3/gif Add a keypress shortcut to the window
Double-click the window's template in the resfile display and popup the window's Edit menu. Choose the Key shortcuts menu-entry to open the shortcuts dbox. dbox/gif
  1. Select the icon marked Key and press Ctrl F
  2. Select the Show object option
  3. Create a FontDbox template (in the resfile display) and drag it to the writable icon
  4. Select the Update action button
  5. Select the OK action button
Now save the resfile and run the application. Open the window (by selecting the iconbar icon) and press Ctrl F - the Font dialogue box will be displayed.
4/gif Using a keyboard shortcut to define a menu entry
This easily done by dragging the keyboard shortcut to the menu entry dialogue box. draw/gif Save by pressing OK in the menu entry edit box. Selecting the menu entry is now equivalent to making the keypress Ctrl F (the menu entry will be marked accordingly).
5/gif Worked solution