Results 1 to 3 of 3

Thread: Clipboard???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    17
    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.

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    How about:

    Code:
    Clipboard.SetData Picture1.Picture

  3. #3
    Guest
    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
  •  



Click Here to Expand Forum to Full Width