I think I need help with both these points. LOL Thank you for all your help with this.
To add togglestartmenu to each entry, I've tried variations of the following, but apparently not the right one. Everything I've tried breaks it in one way or another. Is there a way to escape a semi-colon?
Code:
menuButton.OnPress=('togglestartmenu')##(' ')##(MenuEntry.menuaction)
I'm not sure I understand the second part either (see what happens when you let a non-programmer near code?). I am using OnShow in startmenu's root page, to force all the menuitems to update their variables. Then I have a conditional in each one to actual show/hide them if there exists a plugin for their #'d slot. The conditional (and the variable substitution) won't fire without the first part.
Quote:
Originally Posted by gm9
- No reason to put the "togglestartmenu" into every plugin, just add that to the startmenu xml itself.
- Your visible=false/true code can be discarded if you control the visibility of the menuitems from the OnShow of the startmenu's root page
|