This part works fine....
Case #PB_EventGadget
Select EventGadgetID()
Case #Gadget_Form1_Button1
macro = 1
If EventType() = #PB_EventType_RightClick
do stuff here
now I want to detect when the return key has been pressed in the string gadget so that I can do something with the text in the string gadget and pass focus to the next string gadget.
I've tried using #PB_EventType_LostFocus on the first string gadget but it wont work.
Any ideas please?
Alan
Event problem
Re: Event problem
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.

