Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit e22b2c9

Browse files
[[ Bug 16089 ]] Add OnMouseCancel handler to pushbutton widget
1 parent 56d002e commit e22b2c9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

extensions/widgets/pushbutton/pushbutton.lcb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,12 @@ public handler OnMouseUp() returns nothing
670670
post "mouseUp"
671671
end handler
672672

673+
public handler OnMouseCancel() returns nothing
674+
put false into mIsPressed
675+
redraw all
676+
post "mouseCancel"
677+
end handler
678+
673679
--------------------------------------------------------------------------------
674680
--
675681
-- Getting and Setting Properties

0 commit comments

Comments
 (0)