| Article | 60001578 |
| Type | Wish |
| Product | Engine |
| Date Added | 12/13/2011 12:00:00 AM |
| Fixed | (3/26/2012 12:00:00 AM) |
| Submitted by | Liew Yong Seong |
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
}
