How to exit a trig? | developer.brewmp.com How to exit a trig? | developer.brewmp.com

Developer

How to exit a trig?

This seems like an unnecessary question, but I'm stumped by it anyways...

How do you exit a trig? It seems that all the "exit" softkeys in the example trigs are not tied to any behavior. Section 16.1.1 of the Trig Reference with the uiOne 1.2 SDK says,

The file path /sys can be used to exit the applet running TrigPlayer. This is achieved by throwing the event "exit" to /sys.

So, I try something like:

But, nothing happens when I press soft-key 2. Ideas?

Throwing the exit event to /sys works. My guess would be that you have the throw element in a container that's not receiving key events. Try putting it somewhere you know can have focus. You also might need to make sure the parent container is broadcasting.

Throwing the exit event to /sys works. My guess would be that you have the throw element in a container that's not receiving key events. Try putting it somewhere you know can have focus. You also might need to make sure the parent container is broadcasting.

Thanks Max. It was a focus issue after all.

Thanks Max. It was a focus issue after all.