Solved

TabControl Problem: Ctrl+C Closes TabPage and Doesn't Copy Text To Clipboard

Posted on 2007-04-07
4
250 Views
Last Modified: 2010-04-14
I'm having a problem with TabControls and using Ctrl+C to copy.  My TabPages contain TextBoxes and I want users to be able to copy and paste to and from each of those textboxes.  Unfortunately, when I press Ctrl+C it closes the current tab and doesn't copy anything to the clipboard. Any ideas how to prevent ctrl+c from closing a TabPage?
0
Comment
Question by:TaylorPhillips
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 250 total points
ID: 18870481
Hi TaylorPhillips,

Can you give us some more information about your setup?  I'm not seeing this problem with VB.Net 2005 Express.

Do you have any third party controls?

Do you have any code in any of the KeyXXX events or are you trapping keys in any other way?

Try making a new project with JUST a TabControl and some TextBoxes on the TabPages.  Does the problem persist?  This can help us narrow down the problem in your original app.
0
 
LVL 17

Expert Comment

by:CSecurity
ID: 18871621
hello
your information isn't complete but you should check shortkey(s) in your program.
if you give your project to us (experts), i think you'll give your answer as soon as possible.
Regards!
0
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 18871660
You can upload projects here if need be:
http://www.ee-stuff.com/
0
 

Author Comment

by:TaylorPhillips
ID: 18872386
I sadly inform you that I had a context menu strip with hotkeys enabled.  As I'm sure you can guess, one of those was ctrl+c which closed the current tab ;(....  I never realized that CMS hotkeys worked while the menu was not visible.  Thanks!
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.NET Built-In Report Creator / Viewer 5 41
VB.net/VSTO Excel Add-in 2 38
C# MDI - Use Button on Child Form to Open (or Show) a Different Child Form 3 44
CSS question 16 63
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question