TextField1Filter Info

BlitzMax Forums/BlitzMax Beginners Area/TextField1Filter Info

Hi

I use the TextField1Filter to detect what's is the current text of my textbox, what I want is to detect if the 'Return' Key was press


here an example.

Function TextField1Filter(Event:TEvent, Context:Object)

'Print CurrentEvent.ToString()
	Select event.id
		Case EVENT_KEYDOWN
		   'it detect the key event
                                   'but what's is the char that I Just type
			
	End Select
	Return 1
End Function


Also there's a lot of event in the doc like EventData(), EventID() , EventSource:Object ....etc. how to know what type of control can be associated with the correct event ?

if anyone could help me out I would appreciate it.