Textfield not registering Return

BlitzPlus Forums/BlitzPlus Bug Reports/Textfield not registering Return

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.

You can use this code to capture a return key press

win = CreateWindow("Test Window - Default (15)",0,500,400,100,0) 
tbox = CreateTextArea(0,0,200,200,win)
; wait until the user closes one of the windows 
HotKeyEvent 28,0,$028,0,0,0,0,win; Set EventCode to $028 for enter key
Repeat
id = WaitEvent()
	Select id
		Case $028; Trap Enter key press here
			Stop
		Case $803
			Exit
	End Select
Forever 

End ; bye!