PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Defining the hotkey of a window control
  • Defining the hotkey of a page control
  • & character
  • Managing the & character in the window controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
A window control or a page control can be associated with an alphanumeric character, a keyboard key or a combination of keyboard keys, called "hotkey".
This hotkey gives direct access to the control from the keyboard (by selecting or clicking the control).
Note: By default, a hotkey can be defined from the control caption ('&' character before the caption letter defined as hotkey). See the "& character" for more details.
Versions 16 and later
Android Hotkeys are now available in Android.
New in version 16
Android Hotkeys are now available in Android.
Android Hotkeys are now available in Android.
How to proceed?
WINDEVAndroidWindows MobileJava

Defining the hotkey of a window control

To define the hotkey of a window control:
  1. Display the description window of control ("Description" from the popup menu).
  2. Open the "GUI" tab and click the button on the right of the "Hotkey" control.
  3. Select the keys that constitute the desired hotkey.
    Versions 16 and later
    The "Detection" button is used to detect the key (or the combination of keys) used on the keyboard.
    New in version 16
    The "Detection" button is used to detect the key (or the combination of keys) used on the keyboard.
    The "Detection" button is used to detect the key (or the combination of keys) used on the keyboard.
  4. Validate.
Android Note: In Android, for security reasons, the "Home" and "End of call" keys cannot be used as hotkeys.
WEBDEV - Server code

Defining the hotkey of a page control

To define the hotkey of a page control:
  1. Display the description window of control ("Description" from the popup menu).
  2. In the "Details" tab, select the requested key combination in the "Hotkey" control.
  3. Validate.
& character
WINDEVWindows Mobile

Managing the & character in the window controls

By default, a hotkey can be defined from the control caption ('&' character before the caption letter defined as hotkey).
The control hotkey will be Alt + Letter after &.
To display the '&' character in a caption, this character must be typed twice. For example:
  • "War&Peace" will be displayed as "WarPeace" (with Alt + P as hotkey).
  • "War&&Peace" will be displayed as "War&Peace".
To define how the '&' character will be interpreted, use ..InterpretAmpersand.
In order for the '&' character to be automatically inserted before the caption of the new controls, check "Automatic hotkey during control creation" ("Display .. Options .. Modify the options", "Controls" tab).In order for the '&' character to be automatically inserted before the caption of the new controls:
  1. Display the options of the window editor: on the "Home" pane, in the "Environment" group, expand "Options" and select "Options of window editor".
  2. In the "Controls" tab, check "Automatic hotkey when creating a control".
  3. Validate.
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment