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 1421
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 thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Aarono Brown |
last post by:
I've seen this question asked a couple times in this forum
but never answered, so I guess my hopes aren't too high,
but:
I'm running
> mysql Ver 12.21 Distrib 4.0.14, for pc-linux (i686)
...
|
by: Konrad L. M. Rudolph |
last post by:
I hope this is the right NG, please notify me if not.
I have got a problem with the "recent files" list of the start page in
VS.NET: yesterday I created a new projekt which has the same name as...
|
by: Nalaka |
last post by:
Hi (I am using visual studio 2005 beta 2)
I have a simple asp.net data grid, with a edit (update and cancel) set.
When the button mode is link, it works fine.
But when the button mode is...
|
by: Learner |
last post by:
Hello,
I have a GridView control on my webform. I can see the data in my
GridView control but I don't see any option to hide or delete the Edit
column in the control. I don't have to have any...
|
by: Amil Hanish |
last post by:
I want to add some different controls on my web page that have "edit"
capabilities. This would be like a portal starter kit module where, if
authenticated, the user could click an edit button to...
|
by: Parasyke |
last post by:
Please help.... I have a form that I successfully add records to that I
want to copy and turn into a form for editing records from that same
table (It is imperitive that it be done this way, rather...
|
by: Kosmös Pollard |
last post by:
Hey guys, I'm rather new to access and can not seem to figure out what
is wrong with this code I will post below...but first...it was working
perfectly fine before I added this:
recSet2.Edit...
|
by: Benny Ng |
last post by:
Dear All,
Now I met one problem in the development of my one application.
I have one ASP.NET page. It's for disply the information of customer.
But now I have one new requirement. It's to...
|
by: komaladevi |
last post by:
can any one help me in writing acode -"how to edit "edit item template" dynamically""
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |