Hi all. I have a context menu that which I want to display the index of each item from a listbox as menu items in a context menu. For example, if there are 5 items in the listbox, I would like the context menu to be as follows:
I would also like the menu items to be called "mnuStopTrack" and then the number that is displayed i.e. "mnuStopTrack3." How would I do this using a loop? I then need to be able to set properties if the dynamically made menu item is clicked.
Stop after track... -->
1
2
3
4
5




Reply With Quote