Hi,
I'm having problems with notification for AROS Zune string objects. I vaguely remember reading somewhere that the "Acknowledge" notification isn't sent when a CR is typed but that there was a way to monitor each key stroke made in the string gadget. I can't get any notifications at all though. I tried Notify="Pressed" and Notify="Acknowledge" but that doesn't send anything. Does anyone remember what to use to be notified of action in an AROS Zune string gadget? Thanks.
NathanH
AROS MUIRoyale Strings
Re: AROS MUIRoyale Strings
The String class doesn't have the "Pressed" attribute, but you can use "Contents" to get notifications every time the string contents change (keypresses).
I don't remember if that works on AROS or not, and don't have time to test now either. In any case, if you want these bugs in Zune corrected, let AROS developers (Deadwood last time I've checked) know about them.
I don't remember if that works on AROS or not, and don't have time to test now either. In any case, if you want these bugs in Zune corrected, let AROS developers (Deadwood last time I've checked) know about them.
Re: AROS MUIRoyale Strings
Thanks, that's it! I'm going to try listening for a CR keydown to emulate an acknowledgement notification. I wonder whether there is a way to insert a user-generated notification into the queue?
NathanH
NathanH
Re: AROS MUIRoyale Strings
I don't know if you could put something into the actual queue, but at least you can call your event handler function with a "fake" event.
Like this:
Like this:
Code: Select all
p_EventFunc({Action=MUIRoyale, Class="String", ID="mystring", Attribute="Acknowledge", TriggerValue="bla"})Re: AROS MUIRoyale Strings
Fixed:
Code: Select all
p_EventFunc({Action="MUIRoyale", Class="String", ID="mystring", Attribute="Acknowledge", TriggerValue="bla"})- airsoftsoftwair
- Posts: 5830
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: AROS MUIRoyale Strings
Yes, you can. Use the RunCallback() function for that.