How do I disable a toolbar button?
New DiscussionI’m using the following code and get a error message stating “Key not found.”
Here is the code:
this.ToolbarsManager.Toolbars[“m_toolBar”].Tools[“Add User”].Control.Enabled = false;
I’ne also tried
this.ToolbarsManager.Toolbars[“m_toolBar”].Tools[“Add User”].SharedProps.Enabled = false;
I’ve put Add User in the tag and in the tag and key including the SharedProps tag.
Can anyone help?
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
4 Created On
Jan 08, 2009 Last Post
17 years, 1 month ago