Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to zoom in via mouse draging? (Read 1684 times)
Erison Liang
Guest


How to zoom in via mouse draging?
Dec 13th, 2005 at 8:12pm
Print Post  
How to use ZoomRect() and Mouse Draging??

- Erison
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to zoom in via mouse draging?
Reply #1 - Dec 14th, 2005 at 5:33am
Print Post  
You might try setting Behavior to 'DoNothing' and tracking the MouseDown/Up events. Remember the MouseDown point in a variable, and create a rectangle from it and the MouseUp point. Then call ZoomToRect on that rectangle.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint