Sticky Popup Menu?

Scott Rossi scott at tactilemedia.com
Wed Jan 7 20:05:59 CET 2015


Right, having a card-based control would definitely solve the focus problem.  In my case, I’m already using a list field in the popup substack, so the control is already done.  And I could get some nice translucency effects with a card-based control.

It’s unfortunate because the stack solution is pretty clean, and really all that needs to happen is that “stickiness” needs to be added to the popup command behavior.  Feature request in RRQC. . .

Thanks for the suggestion.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

On Jan 7, 2015, at 10:42 AM, Peter Haworth <pete at lcsql.com> wrote:

> Hi Scott,
> Another approach to this might be to have an invisible scrolling list field
> which you make visible at the appropriate time.
> 
> You could set it to allow multiline selections or perhaps insert a
> checkmark or something to indicate the selected lines using the htmlText or
> the imageSource property of the line.
> 
> I guess you'd also need a button to close it so perhaps it would be an
> invisible group rather than just the field.  Or just close it when the user
> clicks anywhere outside it.
> 
> Bit more limiting in appearance options but might work depending on your
> needs.
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> 
> On Tue, Jan 6, 2015 at 8:00 PM, Scott Rossi <scott at tactilemedia.com> wrote:
> 
>> Thanks for this suggestion.  This was surprisingly easy to get working,
>> using a global variable to track when a selection is made.  The one
>> drawback is, when launched, the palette menu changes window focus from the
>> main stack, which functionally not a big deal, but visually changes the
>> appearance of the titlebar of the main stack.
>> 
>> By any chance is there some decoration setting or similar that would
>> prevent the appearance of the main stack from changing?  I tried enabling
>> the systemWindow of the menu stack but the result was the same — focus
>> changes from the main stack.
>> 
>> If there’s some way to maintain the “active” appearance of the main stack
>> while the palette menu is active, this would be a very workable solution.
>> 
>> Thanks & Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> On Jan 6, 2015, at 5:17 PM, Richard Gaskin <ambassador at fourthworld.com>
>> wrote:
>> 
>>> 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
>>> ____________________________________________________________________
>>> Ambassador at FourthWorld.com                http://www.FourthWorld.com
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list