Menu question

Peter Haworth pete at lcsql.com
Fri Nov 7 14:59:42 EST 2014


Hi Jacque,
That's what I've been doing up to now but if there is a large number of
stacks open and/or they have lots of substacks, the option menu choices get
really long and hard to locate what you want.

What I was hoping to do is simply list the main stacks when the menu is
clicked so it will be a fairly short list, then expand to show the
substacks when the mouse is over a main stack name.

Anyway, it's looking like there isn;t a way to do what I want so will have
to see if I can cobble something together.

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 Fri, Nov 7, 2014 at 10:57 AM, J. Landman Gay <jacque at hyperactivesw.com>
wrote:

> 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
>
> _______________________________________________
> 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