Skip to content
ButtonPressMethod

UI / ButtonPressMethod

ButtonPressMethod Enumeration ​

Button press response rules

Table of contents ​

Enumeration Members ​

ButtonPress = 1
ButtonRelease = 2
DownAndUp = 0

Enumeration Members ​

ButtonPress ​

• ButtonPress = 1

After press the button, clicking will trigger immediately.


ButtonRelease ​

• ButtonRelease = 2

When the button release occurs on the focus button, the click will always be triggered, Even if the button is not press when focus.


DownAndUp ​

• DownAndUp = 0

The user must press the button and then release it when the button has focus to trigger a click. This is the most common type of button.