suniligate Posted August 4, 2010 Posted August 4, 2010 Hi i want to change the intend between the items in Contextmenu strip or Menustrip. I am migrating an app from VB to .NET.The gap between one menu item to another menu item in VB is less compared to .NET intend.How to decrease this intend in .NET Quote
Leaders snarfblam Posted August 4, 2010 Leaders Posted August 4, 2010 I don't know if there is a simple way to do this. I suppose a MenuStrip is rendered with a ToolStripRenderer. You could write your own renderer. You might even be able to inherit the standard renderer and override one or two methods to make it happen. If you really want your .NET menu look the same as a VB6 menu, the best thing to do would be to skip the MenuStrip and go with a standard MainMenu control. This isn't shown in the toolbox by default, but it can be added easily (right-click the toolbox and select "Choose Items..."). This will give you a standard windows menu. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.