Home All Groups Group Topic Archive Search About

newbe help please. paste disabled when i add a menubar in vb2005

Author
4 Sep 2006 3:49 PM
fred.dixon@gmail.com
i have a simple rtfbox with a couple text boxes, i want to paste some
rtf text into the rtfbox.
I added a rtf box to a blank form and tested that a rtf box handles a
paste automatically. it does.
once i add a menu bar the rtfbox no longer accepts pasted text.
it took me a bit to fgure this out. now i want to find out why and how
to fix it. i would like to add a menubar.

Author
4 Sep 2006 7:24 PM
Mike McIntyre
I could not replicate this issue.

After I added a MenuStrip I could still paste into the RTB.

Or are you really trying to add a MenuBar from a previous version of .NET?

--
Mike

Mike McIntyre [MVP]
http://www.getdotnetcode.com


<fred.di***@gmail.com> wrote in message
Show quoteHide quote
news:1157384981.160791.136390@p79g2000cwp.googlegroups.com...
>i have a simple rtfbox with a couple text boxes, i want to paste some
> rtf text into the rtfbox.
> I added a rtf box to a blank form and tested that a rtf box handles a
> paste automatically. it does.
> once i add a menu bar the rtfbox no longer accepts pasted text.
> it took me a bit to fgure this out. now i want to find out why and how
> to fix it. i would like to add a menubar.
>
Author
4 Sep 2006 9:01 PM
GhostInAK
Hello Mike,

Also, is paste disabled only from the keyboard shortcut (ctl-v), or from
the context menu as well.  If only the keyboard, then perhaps you are defining
a menu item with a ctl-v shortcut??
(I believe if you tel the menu bar to 'add default items' this includes an
edit menu).

-Boo

Show quoteHide quote
> I could not replicate this issue.
>
> After I added a MenuStrip I could still paste into the RTB.
>
> Or are you really trying to add a MenuBar from a previous version of
> .NET?
>
> Mike McIntyre [MVP]
> http://www.getdotnetcode.com
> <fred.di***@gmail.com> wrote in message
> news:1157384981.160791.136390@p79g2000cwp.googlegroups.com...
>
>> i have a simple rtfbox with a couple text boxes, i want to paste some
>> rtf text into the rtfbox.
>> I added a rtf box to a blank form and tested that a rtf box handles a
>> paste automatically. it does.
>> once i add a menu bar the rtfbox no longer accepts pasted text.
>> it took me a bit to fgure this out. now i want to find out why and
>> how
>> to fix it. i would like to add a menubar.
Author
4 Sep 2006 11:24 PM
fred.dixon@gmail.com
GhostInAK wrote:
Show quoteHide quote
> Hello Mike,
>
> Also, is paste disabled only from the keyboard shortcut (ctl-v), or from
> the context menu as well.  If only the keyboard, then perhaps you are defining
> a menu item with a ctl-v shortcut??
> (I believe if you tel the menu bar to 'add default items' this includes an
> edit menu).
>
> -Boo
>
> > I could not replicate this issue.
> >
> > After I added a MenuStrip I could still paste into the RTB.
> >
> > Or are you really trying to add a MenuBar from a previous version of
> > .NET?
> >
> > Mike McIntyre [MVP]
> > http://www.getdotnetcode.com
> > <fred.di***@gmail.com> wrote in message
> > news:1157384981.160791.136390@p79g2000cwp.googlegroups.com...
> >
> >> i have a simple rtfbox with a couple text boxes, i want to paste some
> >> rtf text into the rtfbox.
> >> I added a rtf box to a blank form and tested that a rtf box handles a
> >> paste automatically. it does.
> >> once i add a menu bar the rtfbox no longer accepts pasted text.
> >> it took me a bit to fgure this out. now i want to find out why and
> >> how
> >> to fix it. i would like to add a menubar.


..net 2.0
vs2005
ok i had a menu strip. i also had added the standard items. i took a
look (i made a copy of the project before i deleted the strip). so
Ctrl-v was listed in the prop sheet as a shortcut key to the paste
item. I'm a little confused with the menu bar.