I have a question on the Kinetic-Message-Handler component in App Studio.
I’ve added a button to ABCCode that triggers a kinetic-Message-Handler component (type slideout, buttons yes/no). The slideout’s focus defaults to the “Yes” button which is quite convenient - unless you want the default to be “No”, as in our case.
Does anyone know how to set the focus on this component? Is it possible?
I looked at that and the Control-Focus-Set widget, based on other conversations here on EpiUsers. Thank goodness for @hmwillett 's compendium, but I can find no documentation for these controls/widgets.
Are you aware of a resource that would shed light on how they might be implemented?
Since you’re using a slide-out message handler, you could probably get hacky. You could try making a dedicated slide-out with your message and buttons (manually added) and use the control-focus that way.
The issue with trying to do that with the message widget is while it’s open, no other events fire until after it’s closed.
Thanks Hannah. That’s what I suspected. So, I’ll create my own override message event - display the slideout, set focus, then, process the button click response. I appreciate the response!
You’ll have to put your own buttons on the slider instead of using the page button, but then you can create an event that fires on the “No” button’s OnCreate event and call the property-set: