-
Does anyone out there know how to add items to a form's menu at runtime? I'm trying to add a most recently used file list to a MDI project. For the likes of me I haven't been able to figure out how to add new items to the menu at run time. If anyone can point me in the right direction I would be most appricaitive. :) Thanks!
-
Basically, you have to create a control array. Where every you want your dynamic menu items to occur, set the index to zero to the item right about where you want the runtime menu item to go. Then simply use the Load Function
-
Lethal, Thanks for responding. I'm a little confused about creating the control array and adding it to a menu. By chance do you have a code example?
-
I poked around a little more in help under 'control arrays' and now have it working great. Thanks for your help pointing me in the right direction!
-
Oops..sorry, didn't see your last post about needing an example. Any other probs, let me know if I can help.