OnMouseUp

Typemessage
DictionaryLCB
LibraryLiveCode Builder
Syntax
OnMouseUp
Associationscom.livecode.widget
Summary

Sent when the user releases the mouse button.

Example
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
RelatedExpression: TheClickButton, TheMouseLocation
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.

Tagswidget