At 05:02 PM 11/30/2006, you wrote:

I'd suggest not using menu arrays.  Creating new MenuItem instances
works a lot better.

OK, makes sense - i don't mean to ask, but I don't quite get how that approach works, could you guide me through it?

I want to make a fairly complex tree; say four levels deep with nested submenus, some go all the way to the fourth level, some don't. This can be used as a MenuBar thing or as a ContextualMenu (opened by ConstructContextualMenu).

I assume you advise against building this in the IDE, you are suggesting coding it out?

Constructing a Menu Tree using new MenuItem instances seemed reasonable, but one thing I don't understand is how you link up code to the events.

Dim m As New MenuItem

base.Append m

OK, so, wonderful, so how do you set up an Event that has code?

> I have found that if I am building a Menu tree, and I am using an
> Array of MenuItems, I can only use arrays within a contigious menu
> and cannot cross into another sub-menu nor be interrupted by one.
>
> Is this a Bug, or is it a limitation of RB?
>
> (Inevitably it's a bug because the Menu Editor allows you to do it,
> yet RB does not complain if you do it, the menus just display very
> wrongly.)


Garth Hjelte
Sampler User


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to