Right Align Menu Shortcuts

H

Henry C. Wu

Hi, how do you make all shortcut keys (Ctrl+V,Ctrl+C) aligned to the
right like in Internet Explorer or any MS applications?

What I'm doing now to align them all to the right is to add spaces but
this is an ugly solution because some wont line up properly.

Thanks,
Henry
 
M

Mick Doherty

Not all MS apps have right aligned shortcuts. Outlook express has the same
appearance as your dotnet menus.
to right align the shortcut Text you'll have to ownerdraw the menuitems.
 
H

Herfried K. Wagner [MVP]

Henry C. Wu said:
Hi, how do you make all shortcut keys (Ctrl+V,Ctrl+C) aligned to the
right like in Internet Explorer or any MS applications?

That's the default for .NET menu items too. Set the menu item's 'Shortcut'
property to the shortcut you want and make sure its 'ShowShortcut' property
is set to 'True'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top