Example: Press events trigger before release events

A group may have a
Touch Release
event that contains a button with its own press and release events. The events of the button change the state of the button upon press and release. Pressing the button triggers the press event of the button to show the press state. Releasing the button triggers the
Touch Release
event of the group and the
Touch Release
event of the button to show the release state.
In this example, a group contains only a button. There is a Touch Release event associated with the group. A Touch Press event and a Touch Release event are associated with the button.
ViewDesEventExample8
Press Event
Triggered action
1
Press the button to trigger the touch press event associated with the button. Release the button to trigger the Touch Release event associated with the group, and then trigger the touch release event associated with the button.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal