Scott Rossi wrote:
> Anyone know if it’s possible to make the menu that’s created using
> "popup stack …” sticky?  So it doesn’t automatically disappear when
> releasing the mouse?

I've had good luck with borderless palette windows, not using the popup command at all but simply opening them. I trap escapeKey to dismiss them, and close them on suspendStack so clicking anywhere outside of them dismisses them like a menu does.

I use these as flyout panes in the new Devolution 3 in development, and they've been surprisingly satisfying as an alternative to popup stacks.

The old popup command was designed back in the days when all menus were implemented as stacks, so they always dismiss as soon as anything is clicked on.

But with these flyout panes I can have any type of controls I want, and the pane stays up until I either use escape key or click anywhere outside of it. If needed of course you could have a close button as well to cover your bases.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 [email protected]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to