Horizontal Scrollbar pans drawing to top left

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
cognisys
Posts: 2
Joined: 01 Jun 2009, 18:36

Horizontal Scrollbar pans drawing to top left

Post by cognisys » 07 Jan 2011, 20:19

I am using a CADViewerControl on a WinForm tab as a "read only" container for users that are only viewing drawings, not performing edits.

After a user defines a rectangle zoom area by dragging the mouse within extents of drawing, the drawng zooms into defined area and then when the user clicks on the horizontal scrollbar, the drawing is then automatically panned to the top left extents of the drawing. This happens each time a new drawing is loaded in the viewer control, the user zooms in using a rectangle selection and then attempts to pan across the drawing.

How can I resolve this issue? I'm using CAD Import .Net 6.3 Pro with VB.Net 2005. This same issue does not appear with the Editor control.

Thanks,
Jonathan

cognisys
Posts: 2
Joined: 01 Jun 2009, 18:36

Re: Horizontal Scrollbar pans drawing to top left

Post by cognisys » 07 Jan 2011, 22:23

What I discovered is happening is when user drags mouse and creates rectangle zoom area, the scrollbar postiion is not changing to match but is remaining at top, left of extents. How do I set new position of scrollbars relative to new position of drawing?

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Horizontal Scrollbar pans drawing to top left

Post by support » 11 Jan 2011, 12:45

Hello.
The issue is resolved in CAD Import .NET 7. We'll send you library version 7 for testing.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply