Re: dynamic menu problem




"Marty" <bmadmarty@xxxxxxxxxxx> wrote in message
news:1118903232.902916.307570@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> Thanks for the reply but unfortunatly it gives an error '[' expected
> but ',' found.

The problem with your code is that when you add items to a tMenuItem they
are added at the same level. Your build sub-menu code needs to do something
like


subMnu := make new item
PassedItem.Add (subMnu);
// now add sub items to subMnu, not Passed Item


.



Relevant Pages

  • Setting BackColor of sub items in a list view.
    ... I have a listview in the Details mode. ... sub items. ... Sinex ... Prev by Date: ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Menu control
    ... > What I want is that it directly and always shows all sub items under each ... It'd probably be easiest to just write your own control that creates a ... nested UL for your menu which you can then style via CSS. ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: web.sitemap question
    ... The "top level" items are actually sub items. ... doesn't work because the root siteMapNode doesn't have any value. ... John ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)
  • ListView Problem
    ... It seems that when I sort the ListView control the Items are losing their ... Any explanation? ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)