Making "Outlook-Style" Buttons |
|
Posted 10/8/2002 by Jeanne DeVoto to the Use-Revolution Listlocal isInMenu -- keeps mouseUp from firing if you showed the menu on mouseDown put false into isInMenu send "popGoesTheMenu" to me in 2 seconds -- delay time end mouseDown on mouseUp if isInMenu then pass mouseUp beep 2 -- or do whatever action you want for a click end mouseUp on popGoesTheMenu if the mouse is up then exit popGoesTheMenu put true into isInMenu popup button "My Popup" -- the menuPick handler in "My Popup" handles the actions end popGoesTheMenu