MobileForms Toolkit Documentation

ButtonDefinition  Constructor 

Constructor

public ButtonDefinition(
string skinID,
int scanCode,
char character,
char holdChar,
char shiftChar,
string advChars,
string advShiftChars
);

Parameters

skinID
Corresponds to the button name used in a raw skin file. Text buttons have a name of their containing character.
scanCode
Keyboard scan code. Text buttons have this code same as the Ascii value of their upper-case character.
character
Button character.
holdChar
A character, which is typed after holding the button for a while.
shiftChar
Button character for Shift/Caps mode.
advChars
An additional list of characters offered after holding the button. Used for accented characters.
advShiftChars
Similar list as "advChars" for Shift/Caps mode

See Also

ButtonDefinition Class | Resco.Controls.KeyboardPro Namespace