This property sets how "hotkey" prefixed strings are displayed.
[C++Builder] imagekitcontrolname->PrintDraw->HotkeyPrefix
[ = short ]
[Delphi] imagekitcontrolname.PrintDraw.HotkeyPrefix
[ = Smallint ]
Property Value
Value | Explanation |
---|---|
0 | The hotkey prefix is displayed as a normal string |
1 | The hotkey prefix is displayed as a hotkey |
2 | The hotkey prefix is not displayed. This is only enabled for the DrawString method. |
Explanation
The HotkeyPrefix property sets how "hotkey" prefixed strings are displayed. This property is enabled when the DrawString or DrawText method is executed.
For Example:
HotkeyPrefix = 0: The hotkey "&A" is displayed as "&A"
HotkeyPrefix = 1: The hotkey "&A" is displayed as "A"
HotkeyPrefix = 2: The hotkey "&A" is displayed as "A"
Setting this value
This value can be set at runtime.
Retrieving this value
This value cannot be retrieved.