|
-
Jun 23rd, 2007, 12:53 PM
#1
Thread Starter
Addicted Member
[RESOLVED] [2005] How To Detect In KeyPress Ctrl+Enter?
Hello, I just downloaded C# 2005 Express last night to try it out and I liked it, so I started a project with it. I just have a quick question. How would I, in the KeyPress event of a textbox see if the use pressed the Enter key as they were holding Ctrl, like in Internet Explorer you can type google, then hold Ctrl and press Enter it will change it to http://www.google.com/ and navigate to it. That is what I want to do with my web browser project. I just don't know how to detect if ctr is being held down in the textbox.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|