Home away from home
Joined: 2007/5/19 14:23 Last Login
: 1/2 17:30
From England
Group:
Registered Users
|
I have a notification event set on MUIA_String_Acknowledge for my String gadgets, which means I get an event when the user presses Enter. The problem is that if the user just Tabs to the next String gadget, then I never get any event, and so the old String contents is still used.
So, is there any way to get an event on Tab? Preferably without a custom class.
Currently my best idea seems a bit kludgy & tricky: Get notified when MUIA_Window_ActiveObject changes, store the new object, then *somehow* check if the previous object was a string (any suggestions?), and if so then generate a fake MUIA_String_Acknowledge event for it.
|