Skip to content
ButtonClickMethod

UI / ButtonClickMethod

ButtonClickMethod Enumeration ​

Button click response rules

Table of contents ​

Enumeration Members ​

DownAndUp = 0
MouseDown = 1
MouseUp = 2
PreciseClick = 3

Enumeration Members ​

DownAndUp ​

• DownAndUp = 0

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


MouseDown ​

• MouseDown = 1

Clicking will trigger immediately when the mouse is press, and the mouse will not be captured.


MouseUp ​

• MouseUp = 2

When the mouse button is released on the button, it always triggers a click, Even if the button is not press.


PreciseClick ​

• PreciseClick = 3

In the list, you can only click the button precisely. Moving the cursor will scroll the list and also allow dragging and dropping button.