|
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.
|
|
|