How could I add a separator in a PopMenu?
I have a PopMenu as below.
I want to add a separator between the menu.
Could anyone give me a .NET sample code for it?
Go to Solution.
What kind of PopupMenu object type are you working with? The exact type?
System.Windows.Forms.ContextMenu menu = new ContextMenu();
'Autodesk.AutoCAD.Interop.AcadPopupMenu' object has a method:
I was using Autodesk.AutoCAD.Customization.PopMenu.
And I got the separator.
The PopMenuItem constructor with no macro assigned is the equivalent of a separator.
Thank you for your help anyway.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.