473,399 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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

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.

Sep 4 '06 #1
3 1153
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
<fr********@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.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.

Sep 4 '06 #2
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
<fr********@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.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.

Sep 4 '06 #3

GhostInAK wrote:
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
<fr********@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.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.

Sep 4 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Patrick L. Nolan | last post by:
Our Tkinter application has a big ScrolledText widget which is a log of everything that happens. In order to prevent people from making changes, we have it in DISABLED mode except when the...
22
by: Colin McGuire | last post by:
I apologize for posting yet another scrollbar question. Here is my code. All I want is for a diagonal line to appear from coordinates (0,0) to (width,height) in a usercontrol regardless of whether...
3
by: Stilgar[bbs.isca.uiowa.edu] | last post by:
Here's my newbie question: I have several VB forms which are all inherit a standard template form that I made. In my template form, I added a menu bar with some generic cut, copy, and paste...
2
by: Dirk Gerrit Oort | last post by:
Hy all, I'm new in vb.net and is there something like javadoc comments -- D.G. Oort
3
by: dsabin | last post by:
Microsoft Access 2000 has a problem with the Tools menu. Periodically, all commands on the Tools menu will become disabled, making it difficult to use its menu commands (such as Relationships,...
10
by: David Lee Conley | last post by:
When I open the Data Sources window and create a new data source, everything works fine. But if I have a form showing in the IDE, the Data Sources window becomes disabled and doesn't display any...
17
by: Eric_Dexter | last post by:
def simplecsdtoorc(filename): file = open(filename,"r") alllines = file.read_until("</CsInstruments>") pattern1 = re.compile("</") orcfilename = filename + "orc" for line in alllines: if not...
6
by: JOSII | last post by:
Getting a string of boolean value into and out of the registry is no problem. Here's the problem: Although you can place an object into the registry and retreive it, I need to place an ArrayList...
17
by: Steve | last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user clicks on a toolbar button, the cut/copy/paste will work with whatever textbox the cursor is current located in (I have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
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...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
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,...
0
isladogs
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.