Changing text on the fly in menu item

  • Thread starter Thread starter Justin Galzic
  • Start date Start date
J

Justin Galzic

Is it possible to change the text of a context menu item at runtime?
What I want to do if I have a pop-menu, the child item's text shown
iterates through a set of values upon pressing a key.

The menu would start out like this:
MyMenu
---Hello World 1

When I press the 'z' key (or page down), the menu item changes what it
is showing to "Hello World 2". If you press the key again (menu is
still shown), then it'd show "Hello World 3" and so on.

How would one do this? Any feed back is appreciated.

Thanks,
Justin
 
Handle the Popup event of the context menu
and change the text of whatever item you want

/claes
 
Back
Top