Menu question

J. Landman Gay jacque at hyperactivesw.com
Fri Nov 7 13:57:29 EST 2014


On 11/7/2014, 11:46 AM, Peter Haworth wrote:
> Let's say you have a list of stacks and their substacks in a menu. For
> example:
>
> StackA --> StackA1
>                    StackA2
> StackB --> StackB1
>                    StackB2
>
> I'm trying to find a menu type that will items in the above format and
> allow me to choose either a main stack or a substack
>
> Option menu and combobox don't work since they don't allow cascading items.
>
> Pulldown, cascade, and popup menus allow cascading but only allow you to
> select the last item in any given cascade, a substack in this case.
>
> It doesn't look like there's a way to do this with a standard menu type?

I think you'll have to fake it by adding some characters in front of the 
substack names, and then stripping those off when you want to actually 
use the names in a script. Nonbreaking spaces might work and would give 
the appearance of an indent.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list