Solved

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

Posted on 2007-04-07
4
247 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
  • 2
4 Comments
 
LVL 85

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 85

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Capture logon name 13 72
Expression Evaluater 3 24
Help with preventing selection from a combobox 11 22
Can't disable touch pad on Windows 10 computer 16 27
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 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