|
-
Jul 18th, 2000, 11:20 AM
#1
Thread Starter
Junior Member
I'm working with a Picture Box graph and I'm trying to move a curve within the graph. What I want to do is to select a curve from the graph by clicking on it and then drag it to the desired position. I couldnt think of any other way but to save the contents of the picture box without that curve (but with the rest of the graph) and then redraw the saved contents plus the new position of the dragged curve with every mouse_move event in order to create a drag and drop effect. I'm not exactly sure how to save the picture box contents to the clipboard or whatever. Any advice? Is there a better way? Sorry if its confusing.
-
Jul 18th, 2000, 02:36 PM
#2
Fanatic Member
How about:
Code:
Clipboard.SetData Picture1.Picture
-
Jul 18th, 2000, 02:45 PM
#3
To paste the data, you can use this:
Code:
Picture1 = Clipboard.GetData(vbCFBitmap)
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
|