Return in TextField

BlitzMax Forums/MaxGUI Module/Return in TextField

_JIM(Posted 2009) [#1]
I believe this was fixed according to my searches, but I can't get this to work. What I want is to edit the text, then press enter/return and then something happens (the application knows the editing is over and does something).

I've tried with SetGadgetSesitivity and checking EVENT_KEYDOWN events, but I cath anything except KEY_RETURN or KEY_ENTER.

Is there a quick fix for this?


SebHoll(Posted 2009) [#2]
Have you tried EVENT_GADGETLOSTFOCUS? I think this event is generated when you hit return/enter, at least on Windows anyway.

Lemme know how you get on and if you still can't find the event, I'll look into this for you...


_JIM(Posted 2009) [#3]
It works! Thanks!