pan function in gdviewer

Discussions about document viewing.
Post Reply
munteanuramiro
Posts: 3
Joined: Tue Sep 18, 2007 2:01 pm
Contact:

pan function in gdviewer

Post by munteanuramiro » Fri Sep 28, 2007 9:54 am

Hi,

What i want is to stop the pan function in gdviewer when you move the mouse on the image area with the left or right mouse button pushed. Usually the gdviewer does the pan always when i move the mouse like that but i don't know how to stop this function.

Regards,
Ramiro

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Post by Loïc » Fri Sep 28, 2007 10:31 am

You can disable the pan function using the MouseMode propertie:

https://www.gdpicture.com/references/gdv ... eMode.html


Ex:

Code: Select all

GdViewer1.MouseMode = MouseModeDefaultCursor

Regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest