Top Method Summary
Options Name Purpose
System.Windows.Forms.Shortcut ShortcutFromAccelerator (character) Translates a Progress MENU-ITEM Accelerator into a .NET System.Windows.Forms.Shortcut enumeration member
System.Windows.Forms.Shortcut ShortcutFromKey (Keys) Convert a single special key into a System.Windows.Forms.Shortcut value
System.Windows.Forms.Shortcut ShortcutFromKeyCombination (character) Convert special key combinations (like ALT-A) into a System.Windows.Forms.Shortcut value
System.Windows.Forms.Shortcut ShortcutFromKeyCombination (character, character) Convert special key combinations (like ALT-A) into a System.Windows.Forms.Shortcut value
System.Windows.Forms.Shortcut ShortcutFromKeyCombination (character, character, character) Convert special key combinations (like ALT-A) into a System.Windows.Forms.Shortcut value
CHARACTER SpecialKeyToAblEventLabel (KeyEventArgs) Returns the ABL Keyboard event label for the specified .NET KeyEventArgs
CHARACTER SpecialKeyToAblEventLabel (Keys) Returns the ABL Keyboard event label for the specified .NET Keys Enum value

Top Constructor Summary
Options Name Purpose
KeyboardHelper () Disallow instance creation


Method Detail
Top

System.Windows.Forms.Shortcut ShortcutFromAccelerator (character)

Purpose: Translates a Progress MENU-ITEM Accelerator into a .NET
System.Windows.Forms.Shortcut enumeration member
Notes: This method used to reside in the UltraToolbarsHelper and has been
moved to the Keyboard helper for better reusability
Note, not all possible Progress Accelerators are available/supported
as .NET Shortcuts, http://blog.consultingwerk.de/consultingwerkblog/2011/10/create-custom-shortcuts-not-contained-in-the-system-windows-forms-shortcut-enumeration/
Accelerators that are not mapped to a Shortcut member directly are
converted through ShortcutFromKeyCombination (one to three keys).
Returns ? for a single key label that is not a member of the
System.Windows.Forms.Keys enum and for more than three keys

Parameters:
pcAccelerator CHARACTER
The ABL keyboard accelerator
Returns System.Windows.Forms.Shortcut
The System.Windows.Forms.Shortcut value that matches the ABL keyboard accelerator
Top

System.Windows.Forms.Shortcut ShortcutFromKey (Keys)

Purpose: Convert a single special key into a System.Windows.Forms.Shortcut value
Notes: See http://blog.consultingwerk.de/consultingwerkblog/2011/10/create-custom-shortcuts-not-contained-in-the-system-windows-forms-shortcut-enumeration/

Parameters:
poKey System.Windows.Forms.Keys
The System.Windows.Forms.Keys value to convert
Returns System.Windows.Forms.Shortcut
The Shortcut Enum value
Top

System.Windows.Forms.Shortcut ShortcutFromKeyCombination (character)

Purpose: Convert special key combinations (like ALT-A) into a
System.Windows.Forms.Shortcut value
Notes: See http://blog.consultingwerk.de/consultingwerkblog/2011/10/create-custom-shortcuts-not-contained-in-the-system-windows-forms-shortcut-enumeration/

Parameters:
pcKey1 CHARACTER
The first ABL key label
Returns System.Windows.Forms.Shortcut
The Shortcut Enum value
Top

System.Windows.Forms.Shortcut ShortcutFromKeyCombination (character, character)

Purpose: Convert special key combinations (like ALT-A) into a
System.Windows.Forms.Shortcut value
Notes: See http://blog.consultingwerk.de/consultingwerkblog/2011/10/create-custom-shortcuts-not-contained-in-the-system-windows-forms-shortcut-enumeration/

Parameters:
pcKey1 CHARACTER
The first ABL key label
pcKey2 CHARACTER
The second ABL key label
Returns System.Windows.Forms.Shortcut
The Shortcut Enum value
Top

System.Windows.Forms.Shortcut ShortcutFromKeyCombination (character, character, character)

Purpose: Convert special key combinations (like ALT-A) into a
System.Windows.Forms.Shortcut value
Notes: See http://blog.consultingwerk.de/consultingwerkblog/2011/10/create-custom-shortcuts-not-contained-in-the-system-windows-forms-shortcut-enumeration/
Empty key labels (blank or ?) are ignored, so a single key is supported
as well. Returns Shortcut:None when no key label is passed at all.
A key label that is not a member of the System.Windows.Forms.Keys
enum raises a System.ArgumentException

Parameters:
pcKey1 CHARACTER
The first ABL key label
pcKey2 CHARACTER
The second ABL key label
pcKey3 CHARACTER
The third ABL key label
Returns System.Windows.Forms.Shortcut
The Shortcut Enum value
Top

CHARACTER SpecialKeyToAblEventLabel (KeyEventArgs)

Purpose: Returns the ABL Keyboard event label for the specified .NET KeyEventArgs
Notes:

Parameters:
poEventArgs System.Windows.Forms.KeyEventArgs
The System.Windows.Forms.Keys to translate
Returns CHARACTER
The ABL Keyboard Event Label or ? for an unknown/unmatched key
Top

CHARACTER SpecialKeyToAblEventLabel (Keys)

Purpose: Returns the ABL Keyboard event label for the specified .NET Keys Enum value
Notes:

Parameters:
poKeys System.Windows.Forms.Keys
The System.Windows.Forms.Keys to translate
Returns CHARACTER
The ABL Keyboard Event Label or ? for an unknown/unmatched key


Constructor Detail
Top

KeyboardHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       10.10.2026 15:35:35