Return in TextField
BlitzMax Forums/MaxGUI Module/Return in TextField
| ||
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? |
| ||
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... |
| ||
It works! Thanks! |