Jump to content

Touch Screen Events


Recommended Posts

Hello everyone,

I have a button boolean with mecanical action : Switch Untin Released. I used the Event Value Change, when the Boolean is True I move my motor, and when is false I stop my motor. This it's OK when I use the mouse. But when I used my touch screen, I receveid the 2 events when I remove my finger. 

I add the 2 events Mouse Down and Mouse Up, and exactly the same problem. When I click on my button, the button don't go to the true position. But when I remove my finger, I received the four events : Mouse Down ; Value Change ; Mouse Up ; Value Change.

Is someone have an idea why I have this problem?

 

Link to comment

I think this is a Windows touch-screen behaviour, due to Windows using press-and-hold to give a right click.  Windows waits for the release before sending "mouse down" so it can decide to make it a right click or not.  It's annoying but I have not found a way around this.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.