Link Search Menu Expand Document

Root.RegisterFunctionKey Property

Explanation Register the key in Biz / Browser and get the internal key ID.
This key ID can be used to specify keys such as the AltKey and NextTabKey properties.

An error will occur if you specify a combination of keys that has already been registered.

The specification is valid until you log out.
Added since Ver.5.0.3
Call format var keyId = //.RegisterFunctionKey( KeyCode [, shift [, ctrl [, alt ]]] )
Return value Biz / Browser internal key ID
Arguments integer KeyCode Specify the Windows virtual key code.
Please refer to sites such as MSDN for virtual key codes.
boolean shift Specify the combination with pressing the Shift key with $ TRUE.
If omitted, it is considered as $ FALSE.
boolean ctrl Specify the combination with pressing the Ctrl key with $ TRUE.
If omitted, it is considered as $ FALSE.
boolean alt Specify the combination with pressing the Alt key with $ TRUE.
If omitted, it is considered as $ FALSE.
Exception None
Example of use
    Number BSKEY = RegisterFunctionKey(0x8, $TRUE); /* Shift + BackSpace Key */
    Form frmKeyDown {
          X = 0;
          Y = 0;
          Width = 400;
          Height = 300;
          TextBox TextBox1 {
                  X = 8;
                  Y = 16;
                  Width = 336;
                  Height = 24;
                  PrevTabKey = //.BSKEY; /* Shift + Go to the previous item with BackSpace */
          }
    }
    
Related item