|
-
May 10th, 2012, 08:21 PM
#1
Thread Starter
Hyperactive Member
Textbox - Ctrl+Enter=NewLine Enter=Accept
Hi everyone,
is there any example code out there that can help me to the following:
inside a multiline Text Box I want it so that when a user presses Ctrl AND Enter then a new line is entered.
But, if they press Enter on it's own, then it acts like the Accept button on the Form.
i believe this is how Facebook does it.
i thought it was easy, but it's not as easy as i thought ...
thanks in advance
Last edited by stingrae; May 10th, 2012 at 08:38 PM.
Reason: Resolved
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
Tags for this Thread
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
|