stack menu

Peter Brigham MD pmbrig at gmail.com
Mon Feb 15 21:47:34 CST 2010


I'm already adjusting the height of the stack and placing the  
"menuItem" groups appropriately, thanks. I was hoping to scroll the  
whole stack. Putting everything into a group and scrolling the group  
was what I was hoping to avoid. Sounds as if I'll have to, though, if  
I want to proceed. Bummer. It's not an elegant solution, since when  
the menu is short the scrollbar will be superfluous and look a bit  
silly, and I'll have to detect the distance between the bottom of the  
pulldown menu button and the bottom of the screen to know what the max  
menustack height will have to be. Not sure if it's all worth it given  
that the result will hardly look like a native Mac control.

Hmmmm. Can you scroll a group with the scrollwheel using a rawkeydown  
handler if the group has no scrollbar? With or without a frontscript?  
That at least would *look* like a regular menu.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Feb 15, 2010, at 7:11 PM, Mark Schonewille wrote:

> Peter,
>
> Actually, I assumed you would use a group with scrollbars. You will  
> also have to adjust the height of your stack by yourself, with a  
> preOpenStack script, and you'll need to set the height of the group  
> to the height of the stack.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new projects.
>
> Op 16 feb 2010, om 00:56 heeft Peter Brigham MD het volgende  
> geschreven:
>
>> I'm still wondering how a frontscript would work, as suggested by  
>> Mark Schonewille. I hate to get into the complexities of a  
>> scrolling group if I don't have to.
>>
>> -- Peter
>>
>> Peter M. Brigham
>> pmbrig at gmail.com
>> http://home.comcast.net/~pmbrig
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list