Hello,
I'd like to press and hold a container widget for 3 seconds and page will change to a different view. I've tried many things (timers, different combinations of touch actions etc.) but couldn't manage to do it.
Three seconds is important to make sure that user wants to do that action. Not touching the screen by accident.
Any help is appreciated,
Thanks
Touch Actions in 2.9
- nms
- Posts: 14
- Joined: Tue Jul 25, 2017 8:01 am
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Touch Actions in 2.9
You can try something like this state machine:
I tried it on the newer M2 color display and it works a little different. The button press will time out and send the touch release event after about 5 seconds.
I tried it on the newer M2 color display and it works a little different. The button press will time out and send the touch release event after about 5 seconds.
Boyce Schrack
Enovation Controls
Enovation Controls
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
- nms
- Posts: 14
- Joined: Tue Jul 25, 2017 8:01 am
Re: Touch Actions in 2.9
Thanks Boyce,
Exactly what I was looking for.
Exactly what I was looking for.