Event problem
Posted: Sat Feb 19, 2005 2:04 pm
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
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