I am trying to name my submenus (MainMenu control) and they show up in the
menu dropdown...like they are O.K., but when I check my controls the names
are still "MenuItemX". OTOH, the top-level menu items renamed just fine.
What might I be doing wrong?
TIA,
Larry Woods 6 1363
Hi Larry,
Can you do it in design time? You may check the following link.
Adding Menus and Menu Items to Windows Forms http://msdn.microsoft.com/library/de...us/vbcon/html/
vbtskaddingmenusitemstomenu.asp
MainMenu Component http://msdn.microsoft.com/library/de...us/vbcon/html/
vborimainmenucontrolprogramming.asp
I add the MainMenu Control and Input in the "Type Here".
And right click on the Menutiem and select properties, in the properties
page, I can rename the name in the name property.
Did I misunderstand you meaning?
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
-------------------- From: "Larry Woods" <la***@lwoods.com> Subject: Trying to name submenus ("Edit Names") doesn't work! Date: Mon, 3 Nov 2003 15:14:29 -0700 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <e4*************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153324 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
I am trying to name my submenus (MainMenu control) and they show up in the menu dropdown...like they are O.K., but when I check my controls the names are still "MenuItemX". OTOH, the top-level menu items renamed just fine.
What might I be doing wrong?
TIA,
Larry Woods
"Peter Huang" <v-******@online.microsoft.com> wrote in message
news:C6**************@cpmsftngxa06.phx.gbl... Hi Larry,
Can you do it in design time? You may check the following link. Adding Menus and Menu Items to Windows Forms http://msdn.microsoft.com/library/de...us/vbcon/html/ vbtskaddingmenusitemstomenu.asp MainMenu Component http://msdn.microsoft.com/library/de...us/vbcon/html/ vborimainmenucontrolprogramming.asp
I add the MainMenu Control and Input in the "Type Here". And right click on the Menutiem and select properties, in the properties page, I can rename the name in the name property. Did I misunderstand you meaning?
If you right click on the menuitem you can select [Edit Names].
Typing directly on the menuitem now changes the Name instead of the text.
Unfortunately, this is very hit and miss. Sometimes the Names will stick and
other times they will revert to the original "MenuItemX".
The simple solution is to use the Property Browser to edit the Names.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. --------------------From: "Larry Woods" <la***@lwoods.com> Subject: Trying to name submenus ("Edit Names") doesn't work! Date: Mon, 3 Nov 2003 15:14:29 -0700 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <e4*************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153324 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
I am trying to name my submenus (MainMenu control) and they show up in
themenu dropdown...like they are O.K., but when I check my controls the
namesare still "MenuItemX". OTOH, the top-level menu items renamed just fine.
What might I be doing wrong?
TIA,
Larry Woods
Hi, Peter,
The problem IS during design. I have tried somewhat successfully to
duplicate the problem and sometimes the new name "takes" and sometimes it
doesn't. I must admit that I can't find the pattern. I guess that I will
just have to "live with it." BTW, I am using VS 2003.
I'll let you know if I find the pattern.
Thanks.
Larry
"Peter Huang" <v-******@online.microsoft.com> wrote in message
news:C6**************@cpmsftngxa06.phx.gbl... Hi Larry,
Can you do it in design time? You may check the following link. Adding Menus and Menu Items to Windows Forms http://msdn.microsoft.com/library/de...us/vbcon/html/ vbtskaddingmenusitemstomenu.asp MainMenu Component http://msdn.microsoft.com/library/de...us/vbcon/html/ vborimainmenucontrolprogramming.asp
I add the MainMenu Control and Input in the "Type Here". And right click on the Menutiem and select properties, in the properties page, I can rename the name in the name property. Did I misunderstand you meaning?
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. --------------------From: "Larry Woods" <la***@lwoods.com> Subject: Trying to name submenus ("Edit Names") doesn't work! Date: Mon, 3 Nov 2003 15:14:29 -0700 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <e4*************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP09.phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153324 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
I am trying to name my submenus (MainMenu control) and they show up in
themenu dropdown...like they are O.K., but when I check my controls the
namesare still "MenuItemX". OTOH, the top-level menu items renamed just fine.
What might I be doing wrong?
TIA,
Larry Woods
Hi Mick,
Thank you for report.
I have reported the issue, but I can not guarantee if it will be fixed.
Now, I think you can use the properties page for a workaround.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
-------------------- From: "Mick Doherty" <md*******@nospam.ntlworld.com> References: <e4*************@TK2MSFTNGP09.phx.gbl>
<C6**************@cpmsftngxa06.phx.gbl>Subject: Re: Trying to name submenus ("Edit Names") doesn't work! Date: Tue, 4 Nov 2003 12:16:54 -0000 Lines: 67 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <ej**************@TK2MSFTNGP10.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: cpc1-colc2-6-0-cust138.colc.cable.ntl.com 81.101.137.138 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153440 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
"Peter Huang" <v-******@online.microsoft.com> wrote in message news:C6**************@cpmsftngxa06.phx.gbl... Hi Larry,
Can you do it in design time? You may check the following link. Adding Menus and Menu Items to Windows Forms http://msdn.microsoft.com/library/de...-us/vbcon/html
/ vbtskaddingmenusitemstomenu.asp MainMenu Component http://msdn.microsoft.com/library/de...-us/vbcon/html
/ vborimainmenucontrolprogramming.asp
I add the MainMenu Control and Input in the "Type Here". And right click on the Menutiem and select properties, in the properties page, I can rename the name in the name property. Did I misunderstand you meaning?
If you right click on the menuitem you can select [Edit Names]. Typing directly on the menuitem now changes the Name instead of the text. Unfortunately, this is very hit and miss. Sometimes the Names will stick
andother times they will revert to the original "MenuItemX". The simple solution is to use the Property Browser to edit the Names.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no
rights. -------------------- >From: "Larry Woods" <la***@lwoods.com> >Subject: Trying to name submenus ("Edit Names") doesn't work! >Date: Mon, 3 Nov 2003 15:14:29 -0700 >Lines: 11 >X-Priority: 3 >X-MSMail-Priority: Normal >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <e4*************@TK2MSFTNGP09.phx.gbl> >Newsgroups: microsoft.public.dotnet.languages.vb >NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 >Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8 phx.gbl!TK2MSFTNGP09.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153324 >X-Tomcat-NG: microsoft.public.dotnet.languages.vb > >I am trying to name my submenus (MainMenu control) and they show up in the >menu dropdown...like they are O.K., but when I check my controls thenames >are still "MenuItemX". OTOH, the top-level menu items renamed just
fine. > >What might I be doing wrong? > >TIA, > >Larry Woods > > >
Hi Larry,
I think you may try to use the properties page as a workaround.
Thank you for your information.
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
-------------------- From: "Larry Woods" <la***@lwoods.com> References: <e4*************@TK2MSFTNGP09.phx.gbl>
<C6**************@cpmsftngxa06.phx.gbl>Subject: Re: Trying to name submenus ("Edit Names") doesn't work! Date: Tue, 4 Nov 2003 07:12:28 -0700 Lines: 74 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <ul**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153462 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Hi, Peter,
The problem IS during design. I have tried somewhat successfully to duplicate the problem and sometimes the new name "takes" and sometimes it doesn't. I must admit that I can't find the pattern. I guess that I will just have to "live with it." BTW, I am using VS 2003.
I'll let you know if I find the pattern.
Thanks.
Larry
"Peter Huang" <v-******@online.microsoft.com> wrote in message news:C6**************@cpmsftngxa06.phx.gbl... Hi Larry,
Can you do it in design time? You may check the following link. Adding Menus and Menu Items to Windows Forms http://msdn.microsoft.com/library/de...-us/vbcon/html
/ vbtskaddingmenusitemstomenu.asp MainMenu Component http://msdn.microsoft.com/library/de...-us/vbcon/html
/ vborimainmenucontrolprogramming.asp
I add the MainMenu Control and Input in the "Type Here". And right click on the Menutiem and select properties, in the properties page, I can rename the name in the name property. Did I misunderstand you meaning?
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no
rights. -------------------- >From: "Larry Woods" <la***@lwoods.com> >Subject: Trying to name submenus ("Edit Names") doesn't work! >Date: Mon, 3 Nov 2003 15:14:29 -0700 >Lines: 11 >X-Priority: 3 >X-MSMail-Priority: Normal >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <e4*************@TK2MSFTNGP09.phx.gbl> >Newsgroups: microsoft.public.dotnet.languages.vb >NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 >Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0
8 phx.gbl!TK2MSFTNGP09.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153324 >X-Tomcat-NG: microsoft.public.dotnet.languages.vb > >I am trying to name my submenus (MainMenu control) and they show up in the >menu dropdown...like they are O.K., but when I check my controls thenames >are still "MenuItemX". OTOH, the top-level menu items renamed just
fine. > >What might I be doing wrong? > >TIA, > >Larry Woods > > >
I have found that IF you DON'T try to replace the menu name by selecting the
default menu name in the dropdown, then it will replace the name correctly.
If you manually select the words ("menuitemX"), then type in the new name
then it WON'T replace the name.
At least that has been my experience.
(For what it's worth)
Larry
"Peter Huang" <v-******@online.microsoft.com> wrote in message
news:ec*************@cpmsftngxa06.phx.gbl... Hi Larry,
I think you may try to use the properties page as a workaround. Thank you for your information.
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. --------------------From: "Larry Woods" <la***@lwoods.com> References: <e4*************@TK2MSFTNGP09.phx.gbl> <C6**************@cpmsftngxa06.phx.gbl>Subject: Re: Trying to name submenus ("Edit Names") doesn't work! Date: Tue, 4 Nov 2003 07:12:28 -0700 Lines: 74 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <ul**************@TK2MSFTNGP09.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.vb NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153462 X-Tomcat-NG: microsoft.public.dotnet.languages.vb
Hi, Peter,
The problem IS during design. I have tried somewhat successfully to duplicate the problem and sometimes the new name "takes" and sometimes it doesn't. I must admit that I can't find the pattern. I guess that I
willjust have to "live with it." BTW, I am using VS 2003.
I'll let you know if I find the pattern.
Thanks.
Larry
"Peter Huang" <v-******@online.microsoft.com> wrote in message news:C6**************@cpmsftngxa06.phx.gbl... Hi Larry,
Can you do it in design time? You may check the following link. Adding Menus and Menu Items to Windows Forms
http://msdn.microsoft.com/library/de...-us/vbcon/html / vbtskaddingmenusitemstomenu.asp MainMenu Component
http://msdn.microsoft.com/library/de...-us/vbcon/html / vborimainmenucontrolprogramming.asp
I add the MainMenu Control and Input in the "Type Here". And right click on the Menutiem and select properties, in the
properties page, I can rename the name in the name property. Did I misunderstand you meaning?
Regards, Peter Huang Microsoft Online Partner Support Get Secure! www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- >From: "Larry Woods" <la***@lwoods.com> >Subject: Trying to name submenus ("Edit Names") doesn't work! >Date: Mon, 3 Nov 2003 15:14:29 -0700 >Lines: 11 >X-Priority: 3 >X-MSMail-Priority: Normal >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 >Message-ID: <e4*************@TK2MSFTNGP09.phx.gbl> >Newsgroups: microsoft.public.dotnet.languages.vb >NNTP-Posting-Host: ip68-2-97-113.ph.ph.cox.net 68.2.97.113 >Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFT NGXA05.phx.gbl!TK2MSFTNGP0 8 phx.gbl!TK2MSFTNGP09.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:153324 >X-Tomcat-NG: microsoft.public.dotnet.languages.vb > >I am trying to name my submenus (MainMenu control) and they show up in
the >menu dropdown...like they are O.K., but when I check my controls the names >are still "MenuItemX". OTOH, the top-level menu items renamed just fine. > >What might I be doing wrong? > >TIA, > >Larry Woods > > > This discussion thread is closed Replies have been disabled for this discussion. Similar topics
1 post
views
Thread by Aarono Brown |
last post: by
|
5 posts
views
Thread by Konrad L. M. Rudolph |
last post: by
|
2 posts
views
Thread by Nalaka |
last post: by
|
2 posts
views
Thread by Learner |
last post: by
|
reply
views
Thread by Amil Hanish |
last post: by
|
2 posts
views
Thread by Parasyke |
last post: by
|
1 post
views
Thread by Kosmös Pollard |
last post: by
|
1 post
views
Thread by Benny Ng |
last post: by
| | | | | | | | | | | |