Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / Updating menu items
  RSS 2.0 ATOM  

Updating menu items
Rate this thread
 
14297
 
Permlink of this thread   Subscribe to this thread
avatar
  • Total Posts: 1
  • Joined: 06 August 2007 04:14 AM

I’m trying to create a ‘Recent files’ menu, but I don’t seem to be able to get the menu to update when i change the list. As far as MaxScript is concerned, it thinks the <menuitem>.text values are changing, but the menu stubbornly refuses to change them.

The only exception is when I change the values in the ’on <menu> open do <change values>’ section of the menu definition. I thought that would mean that I could change them in the event handler definition (’on <menuitem> picked do <change values>’), but noooo.
Anyone have any suggestions on how I can force the menu to update?

BTW, it’s docked with a dialog with the createdialog <dialog> menu:<recent items menu> definition.



Replies: 0




   
  Settings Choose Theme color: