Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
4 posts
• Page 1 of 1
Lars
Posts:5
Joined: Fri Jan 20, 2017 10:32 am
Disable Panning
Postby Lars »
Since I use WinCC OA 3.15 Panning on Objects with clicked event is also possible.
Now I have the problem that every time I want to use Drag&Drop functionality it does not work because panning is used.
In the online help there is a simple script to help:
main()
{
panningMode(FALSE);
}
I put this script on several Initialevents but it does not matter where, panning stays activated.
What do I wish ? :
To disable a whole Panel for panning is not what I want. I would like specific objects not to use panning and use Drag&Drop instead.
I only use a touch screen (no mouse).
Press and hold longer than 200ms before moving your finger.
As long as the panel is larger than the viewport, panning is always started via touch when you move the finger before
the 200ms timeout.
This function sets the panel to a state for mouse interaction, which is either: mouse is used to pan the panel or mouse is used to click/activate objects.
(See also trackZoomMode)
Touch handling does not use this state but always allows to pan the panel when it is larger than the viewport.