On 05.11.04 (16:52:25), Jocke Birging wrote:
> On 2004-11-05, luppi_luca wrote: > >> Hello, I'm a mui's newbie. >> I have a simple question: how can I hook the "enter" key event on a >> string gadget? >> >> My last try is MUIA_String_Contents change but it raise an event for >> every key (space include) and not for enter key. >> >> I try also with MUIA_Window_InputEvent but it seem to be use only for >> window (and application?), so if I edit my string gadget nothing >> happened. > > You should set up a notify on MUIA_String_Acknowledge, that should do it... But, there is no notify when the user leaves the gadget with the TAB key! Is there a good reason for this behaviour? <tsb> Ciao, Thomas! ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/16uqlB/TM --------------------------------------------------------------------~-> Visit http://www.amiga.dk/tumult for MUI-related information, especially about MUI custom classes. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MUI/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
