Jump to content

HMI mouse events detection...


ORSO2001

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

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.