OnMouseUp
Type
message
Summary
Sent when the user releases the mouse button.
Syntax
OnMouseUp
Description
The OnMouseUp message is sent when a mouse button is released.
Note: A widget may receive the OnMouseUp message even if the mouse pointer isn't within the widget's bounds.
Examples
public handler OnMouseUp() returns nothing
if the mouse position is not within my bounds then
return
end if
if the click button is 1 then
-- do primary button action
else
-- do secondary button action
end if
end handler
Related
expression: TheClickButton, TheMouseLocation