Change menu item text programmatically

M

Mike

I am trying to programmatically change the text of a menu item in a submenu
of context menu.
The menu item starts off as "Play" and I later execute
this.menuItem1.Text = "Stop";
I can confirm with the debugger that the field value changes as expected yet
this is not actually reflected in the menu itself.

Any ideas?

Mike
 
N

Nicholas Paldino [.NET/C# MVP]

Mike,

Can you post a complete sample showing what you are doing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top