BlakeMcKenna
asked on
Is there an accepted method of looping thru MenuItems w/ToolStripSeparators?
I have a dynamic menu structure associated with my Windows application. The main menu has subitems, ToolStripMenuItems along with ToolStripSeparators. The issue I'm having is knowing when a User's access is limited, certain menuitems won't show, which is correct, however, I not always able to prevent the ToolStripSeparator from showing. Is there a way to ensure I can remove ToolStripSeparators along with a ToolStripMenuItem if it's not suppose to show up?
I've attached an image for visual reference.
Hope that makes sense!
Thanks,
Screenshot.jpg
I've attached an image for visual reference.
Hope that makes sense!
Thanks,
Screenshot.jpg
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
ASKER