Button events (MouseDown/Up) problems on touchscreen Windows
Posted: Thu Jul 14, 2016 12:39 am
Hello,
we found some problems on certains panel pc with Windows (7 Professional) and using touch screen with our HMI developed in iX.
We wrote some code (Script of some Screens) under the event
void Button5_MouseDown(System.Object sender, System.Windows.Forms.MouseEventArgs e)
and
void ButtonX_MouseUp(System.Object sender, System.Windows.Forms.MouseEventArgs e)
Using our development pc with mouse or panel pc on machine at customer side with mouse attached all code under the functions is executed also with very frequent and fast clicks or holding the button for a few seconds and then releasing it.
Using the panel pc with click with finger on touch screen, without the external mouse, that is the normal and standard mode of operation there are problems and seems that sometimes _MouseUp event is not executed and this becomes a great problem because the button are used to move or stop part of the machine (jog).
Down -> Move , UP-> Stop and if Up is not executed the part of machine continue to move.
Do you have some suggestion?
Thank you
we found some problems on certains panel pc with Windows (7 Professional) and using touch screen with our HMI developed in iX.
We wrote some code (Script of some Screens) under the event
void Button5_MouseDown(System.Object sender, System.Windows.Forms.MouseEventArgs e)
and
void ButtonX_MouseUp(System.Object sender, System.Windows.Forms.MouseEventArgs e)
Using our development pc with mouse or panel pc on machine at customer side with mouse attached all code under the functions is executed also with very frequent and fast clicks or holding the button for a few seconds and then releasing it.
Using the panel pc with click with finger on touch screen, without the external mouse, that is the normal and standard mode of operation there are problems and seems that sometimes _MouseUp event is not executed and this becomes a great problem because the button are used to move or stop part of the machine (jog).
Down -> Move , UP-> Stop and if Up is not executed the part of machine continue to move.
Do you have some suggestion?
Thank you