Dynamic Menus
Dynamic Menus
How can I add new menu items to a submenu during runtime? Submenus don't have an ID when they're created... just a text entry. For example, in the PB example file, menu.pb, there is a submenu titled "Recents". What if you wanted to add new file names to that list during runtime... how would I do that?
- Fluid Byte
- Addict

- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
I use a different method - no need to recreate the menu at all. See the bottom of this thread: http://www.purebasic.fr/english/viewtopic.php?t=37401
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system


