TextField - Pressed Enter?
BlitzPlus Forums/BlitzPlus Programming/TextField - Pressed Enter?
| ||
Is there any way to figure if the person has pressed "Enter/Return" in a text field? I have blitzplay going in Blitz+ and I wanted to send the packet after the enter key was pressed, instead of having to click a "Send" button. |
| ||
Yes, if you get 13 in the EventData() for the text field, then someone has pressed Return. |
| ||
You rock mightily. I'll give it a test when I get home! Thank you again. |
| ||
As a tip, don't use Ctrl+M as a shortcut as its key code is 13! |
| ||
Alrighty, thank you! It works great so far! |