0

I would like to know if is it possilbe to disable a menuStrip on windows forms? But not whole, I would like to disable only one specific menu.
I know I can disable whole with:

this.menuStrip1.Enabled = false;

Look at this image - I would like to disable menus:
- "Shrani novo datoteko" and
- "Shrani besedilo"

Is this possilbe?

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by ddanbe
0

"Shrani novo datoteko" and "Shrani besedilo" are of type ToolStripMenuItem. This type has also an Enabled property. If you want to disable both you perhaps better set the Enabled property to false of the "Shrani" ToolStripMenuItem.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.