NeoTop Menu & MasterPage - Forum

Forum Navigation
You need to log in to create posts and topics.

NeoTop Menu & MasterPage

Hi..

I have created a container and put it in MasterPage, i took the subroutine from the NeoTop Menu example app and i call it from a page like this

neoTopMenuInitialize "ContainerTop" "" "" "Default" "Default"
rendermenu "ContainerTop"

and shows up. Now if i move to a one other page, the menu don't show up. Note that in all pages is declared in contain the MasterPage.

Also there isn't command to remove a menu item.

Any ideas ?

@smartmedia you need to render the menu whenever you enter a new page. If you need to remove an item you will need to regenerate the whole menu and render it again. It's not hard if you include the menu generator code into a subroutine.

I hope it helps.

smartmedia has reacted to this post.
smartmedia

Hi..

Thanks for the answer, all ready did what you described. Also notice that when a page has enter-effect the menu don't show up.

I Dont know if is a bug or is working in different way.

Thanks again, i need to ask some improvements but i will post an appropriate topic.

 Also notice that when a page has enter-effect the menu don't show up.

@smartmedia objects in Dialogs and Pages with transitions may require some time to be available before using them.
Please place the menu rendering inside a Wait ... EndWait if you want to use it within the page-enter event.

Regards.

smartmedia has reacted to this post.
smartmedia