I have a program where I have two string gadgets created with the GA_TabCycle flag set to TRUE. These gadgets also call a custome hook so I can control the format. When the gadget are activated the hook is called and all works well. When I return from the hook to the event loop I also capture the
event for the gadget so I can check the entry of the second string gadget against the first one. If the entry is invalid I use the ActivateGadget call to re-activate the second gadget with the invalid entry so the user can correct it. If while editing the second gadget value I then press Shift-TAB to go back to the first gadet the system lockes up. The CPU monitor freezes and I don't get any response from the keyboard or mouse.
If I remove the ActivateGadget call I can TAB and SHIF TAB between the gadgets all day long with no problems. If I set the GA_TabCycle flag to FALSE for the gadgets I of course can't use TAB to change gadgets but using ActivateGadget to switch between the two works fine. Is this an OS bug or am I
perhapse doing something invalid?
I'm using a uA1 with OS4 Update 4 with the lastest public SDK. Any ideas?

