|
-
January 31st, 2012, 08:44 PM
#1
Dag and drop graphed function or line
I need help. I have graphed an array. I would like to be able to have the user drag and drop ( using the mouse) the graphed function at runtime. I want to be able to see the graphed line move as the mouse moves it and stay in position when the mouse button is released. I would however like the option of keeping original data or saving the new one.
I have basic vb6 knowledge which I am keen to increase.
I can only find drag and drop for lists and databases.
My current thinking is to use GetCursorPosition& and when mouse is on a colored pixel for 4 secs retrieve the coordinate and compare (x and y value) it to the next position of the mouse. I could use a temp array to change the values of the function as the mouse moves.
This seems cumbersome.
Any ideas?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|