Board index » Visual Studio » edit menu names and changing menu appearance

edit menu names and changing menu appearance

Visual Studio289
2 questions:

1)I inserted a menu in an mdi window form. I right clicked on a menu

item and pressed edit names. I therefore edited all my menu item names.

Then I right clicked and pressed edit names again to return to the

normal view of the menu.

When I returned later on to muy menu names, they hadn´t been saved. How

do I use this utility (edit names), since the changes I edit don´t

prevail?



2) Is there a way to change the font and appearance of the mdi menu?



Thanks for any advice







*** Sent via Developersdex www.developersdex.com ***

Don't just participate in USENET...get rewarded for it!


-
 

Re:edit menu names and changing menu appearance

Ceclilia,

Quote
1)I inserted a menu in an mdi window form. I right clicked on a menu

The Edit Names option allows you to toggle between changing the Name of the

MenuItem and changing the Text of a MenuItem. The Name of the MenuItem is

used in your VB source to refer to the control. The Text of a MenuItem is

what is displayed to the user.



Quote
2) Is there a way to change the font and appearance of the mdi menu?

You will need to create OwnerDraw MenuItems. you can refer to the source at

www.dotnetmagic.com or Charles Petzold's book "Programming Microsoft Windows

with Mcirosoft Visual Basic.NET" has a sample.



BTW: Thanks I did not realize that Edit Names was there, its a rather cool

option!



Hope this helps

Jay



"Cecilia Bergengruen" <cbergen@adinet.com.uy>wrote in message

Quote




2 questions:

1)I inserted a menu in an mdi window form. I right clicked on a menu

item and pressed edit names. I therefore edited all my menu item names.

Then I right clicked and pressed edit names again to return to the

normal view of the menu.

When I returned later on to muy menu names, they hadn´t been saved. How

do I use this utility (edit names), since the changes I edit don´t

prevail?



2) Is there a way to change the font and appearance of the mdi menu?



Thanks for any advice







*** Sent via Developersdex www.developersdex.com">www.developersdex.com ***

Don't just participate in USENET...get rewarded for it!





-

Re:edit menu names and changing menu appearance

Jay,



Thanks for your reply, I also found it a cool option.

The thing is that after changing all the menu item NAMES,

the changes were lost. Didn´t this happen to you?

I toggle back to menu item TEXT and then back to menu item NAMES to see

if my changes were saved, and they weren´t.

Please try it and let mi know.



Thanks



Cecilia





*** Sent via Developersdex www.developersdex.com">www.developersdex.com ***

Don't just participate in USENET...get rewarded for it!

-

Re:edit menu names and changing menu appearance

Yes that's annoying. Sometimes it works and sometimes it doesn't, I have no

idea why.



"Cecilia Bergengruen" <cbergen@adinet.com.uy>wrote in message

Quote
Jay,



Thanks for your reply, I also found it a cool option.

The thing is that after changing all the menu item NAMES,

the changes were lost. Didn´t this happen to you?

I toggle back to menu item TEXT and then back to menu item NAMES to see

if my changes were saved, and they weren´t.

Please try it and let mi know.



Thanks



Cecilia





*** Sent via Developersdex www.developersdex.com">www.developersdex.com ***

Don't just participate in USENET...get rewarded for it!





-

Re:edit menu names and changing menu appearance

Cecilia,

I was playing with it more later last night, and found the same thing.



In VS.NET 2003 the new names were not being saved.



I'll submit a bug report to MS later.



Hope this helps

Jay



"Cecilia Bergengruen" <cbergen@adinet.com.uy>wrote in message

Quote
Jay,



Thanks for your reply, I also found it a cool option.

The thing is that after changing all the menu item NAMES,

the changes were lost. Didn´t this happen to you?

I toggle back to menu item TEXT and then back to menu item NAMES to see

if my changes were saved, and they weren´t.

Please try it and let mi know.



Thanks



Cecilia





*** Sent via Developersdex www.developersdex.com">www.developersdex.com ***

Don't just participate in USENET...get rewarded for it!





-

Re:edit menu names and changing menu appearance

This happens to me all the time. I'd have to say that this feature rarely works. ANy luck with the bug report?

-