Q: 
PopUpMenu on runtime

Perhaps you can help.
I can implement a popupmenu fine. However, I would like to populate the popupmenu at runtime with varying sublevels. what is the best way to do this?

Timothy Wolf ; timwolf@attglobal.net
 

A: Take a look at the example called LOAD on the site. It;s about loading at runtime controls to your application. And a menu is also a control.. There are some things you must think about when you want to add menu-items at runtime; you must use a indexed control so the relevant code to be executed after selecting an item must be also 'indexed' (use Select Case for example with the choosen item.caption to execute the proper code) Return