Jump to content

HMI mouse events detection...


Recommended Posts

hi All

when a mouse is connected with the panel by the USB port there is a way to detect when the mouse button is pressed?...i mean something like the "touch bit" for the VNC connecttion.

I know that I can add a BIT in each buttons but I need/want know also if someone push the button everywhere in the screen.

thanks

Link to comment
Share on other sites

  • 1 month later...

A long time ago in a galaxy far, far away....About four years ago, when the PLC did not support screensaver, I implented it myself (in fact it was a PLC placed in the corridor of my wife's parents home and through the night the shining display was disturbing, so I just "designed" a black screen and I think reduced brightness after a period of time). Then I was asked to put some slideshow of my daughter instead of black screen. The problem was the screen had not reacted on touch using VNC viewer.

Solution was quite easy - I put the controls on a large transparent button which fills all the screen. And it works. I am not sure but suppose the panel works like bubbling event in MS WPF. 

Maybe it can be a solution of your problem.

Regards

Jan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
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...