Is this the best way to handle detecting enter being pressed in a string gadget?
Code: Select all
Select MyEventID
Case #WM_KEYDOWN
If EventwParam() = 13
Select EventGadgetID()
Case #String_Gadget_Here
Debug "Return key pressed in string gadget"
EndSelect
EndIf
EndSelect

