Prod.: Engine, ver.: 6022, ID: 60001578, Wish : Ability to change the pan button with another button

Wish : Ability to change the pan button with another button

Article60001578
TypeWish
ProductEngine
Version6022
Date Added12/13/2011
FixedYes [3/26/2012]
Submitted byLiew Yong Seong
Keywords

Subject

Ability to change the pan button with another button

Summary

Is it possible to call the PAN action (that regularly is invoked with the middle mouse button) with another mouse button like XBUTTON1 or XBUTTON2 ?

Solution

In version 6023 we added a new property at the vdDocument like below

summary>

Get/Set a Mouse Button value To start the pan action.

remarks>

Using this property you can choose between Middle , XButton1 , XButton2 mouse buttons to start the pan action at the default VectorDraw implementation.

Default Mouse Button value is Middle.

public PanMouseButtons PanMouseButton

We also added an enumerator to be used with this property with the following values

public enum PanMouseButtons

{

Middle = MouseButtons.Middle,

XButton1 = MouseButtons.XButton1,

XButton2 = MouseButtons.XButton2

}