Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Scroll While Creating a box (Read 3742 times)
andrewsando1973
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Feb 14th, 2010
Scroll While Creating a box
Jul 8th, 2010 at 11:19am
Print Post  
I have placed the FCX on a resizer control, i want to scroll that resizer while creating a box.

I succeeded to do so while modifying the box size.

so, How can i get the change of the mouse pointer in docX and docY coordinates both while creating a box and also when moving a number of selected box.

Thanks in advance
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Scroll While Creating a box
Reply #1 - Jul 8th, 2010 at 12:12pm
Print Post  
How have you implemented it for box modification? It should not be much different when creating new boxes.
  
Back to top
 
IP Logged
 
andrewsando1973
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Feb 14th, 2010
Re: Scroll While Creating a box
Reply #2 - Jul 8th, 2010 at 12:23pm
Print Post  
by using the box_modifying event as it has the DocX and DocY coordinates, but for while creating a new box this event is not fired.

the same for moving a group of selected box no event (with docx and docy) is fired.

So, what can i do?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Scroll While Creating a box
Reply #3 - Jul 8th, 2010 at 12:34pm
Print Post  
You can do the same from MouseMove, and track if the mouse button is pressed using the MouseDown/Up events.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint