Click

Events Block - Button, List Box

Description

This event occurs when the mouse goes down and up over the related control object. If the mouse is over a button and dragged off the button prior to releasing the mouse button this event does not occur. If the mouse is over a list the click event will occur even if the mouse release is not over the list. For a momentary button effect use the Mouse Down and Mouse Up events.

Escapes

The Click block does not generate any escapes.

Examples

This block list will show a message when the related button is clicked.

This block list, associated with a list block, indicates which line in the list was clicked on.

Related Topics

Double Click
Mouse Down
Mouse Up