|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Can I add them to the context menu and programmically copy them to the main menuI'm trying to learn about the MenuStrip and the ContextStrip.
I use Google and get an unbelievable number of hits but can't seem to find out the answer to one question. All the items on my context menu also appear on my main menu. Do I have to use the Designer to add them to both (that is, do I have to input the data twice.) Or is there some way to add them only to the context menu and programmable copy them to the main menu. Thanks for any help at all " Franky" <frankyNOSPAM@a-znet.com> wrote in If you do it via the designer you need to add the item twice.news:ufO2$roBHHA.3924@TK2MSFTNGP02.phx.gbl: > I'm trying to learn about the MenuStrip and the ContextStrip. > > I use Google and get an unbelievable number of hits but can't seem to > find out the answer to one question. > > All the items on my context menu also appear on my main menu. > > Do I have to use the Designer to add them to both (that is, do I have > to input the data twice.) My question is: Do I have to use the Designer and add them twice or is there
some way to programmically copy the ContextStrip items to the MenuStrip (that is, copy them, not move them)? thanks Show quoteHide quote "Spam Catcher" <spamhoneypot@rogers.com> wrote in message news:Xns9879943644BA0usenethoneypotrogers@127.0.0.1... > If you do it via the designer you need to add the item twice. > > I did find a FAQ that contained the statement:
We do support reusing the same ToolStripDropDown or ContextMenuStrip in multiple places (non-nested). If this means a ContextMenuStrip can be the forms context menu and also appear on the forms main menu, I believe if I knew how to do that I'd be all set. Show quoteHide quote " Franky" <frankyNOSPAM@a-znet.com> wrote in message news:ew5diPpBHHA.3928@TK2MSFTNGP03.phx.gbl... > My question is: Do I have to use the Designer and add them twice or is > there some way to programmically copy the ContextStrip items to the > MenuStrip (that is, copy them, not move them)? > > thanks > > > "Spam Catcher" <spamhoneypot@rogers.com> wrote in message > news:Xns9879943644BA0usenethoneypotrogers@127.0.0.1... > >> If you do it via the designer you need to add the item twice. >> >> > >
Play wavs in VB2005.
"how to split a string in a random way" Compression namespace for Array Extract Single Record from Dataset filled from SP Output Creating text boxes on the fly? for each step order reverse direction ? single line string maninuplation substring, trim, indexof ? Able .NET ? GUIDS not creating correctly in vb.net Shared database without network tech required |
|||||||||||||||||||||||