OnKeyUp

<< Click to Display Table of Contents >>

Manual > Control Reference > Common to all controls > Common events >

OnKeyUp


 

Occurs when a key is released (only when the control has focus).

 


syntax

event OnKeyUp(

         keycode,

         flag

         )

 


Parameters

 

keycode

 

Type:

Number

 

The virtual key code of the pressed key. For information on virtual key codes, see the virtual key code table in the explanation.

 

flag

 

Type:

Number

 

When a key is pressed, it indicates which other keys are pressed at the same time. It can also identify the state of mouse buttons.

The numeric value will be a combination (logical OR) of the following values:

- The left mouse button is pressed 1

- The right mouse button is pressed 2

・The shift key is pressed 4

・The control key is pressed    8

- The middle mouse button is pressed 16

 


hmtoggle_plus1Example

 

hmtoggle_plus1Virtual Key Code Table

 


Supported


×

Script Action

○

Browser script

×

Calculation formula syntax

 


reference