Return in Textfield

BlitzPlus Forums/BlitzPlus Programming/Return in Textfield

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is there a way to determine if the user has hit the RETURN key while in a textfield? I've read elsewhere in this forum that you can check for 13 in the eventdata() for the textfield, but I can't get it to recognise 13. If I print the eventdata() to the console - it will give the chr$ for other keys, but not for RETURN? Any ideas....Thanks.