Results 1 to 3 of 3

Thread: Copying contents of one picturebox to another

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Slovenia
    Posts
    32
    Hi!

    I need to copy contents of a picturebox to another picturebox
    on different coordinates (not pixel by pixel, but the whole thing
    at once). Can anyone please help?

    Thanks in advance for any answer.


    Celery
    VB6 Pro SP3 - Academic Licence

  2. #2
    Guest
    Use PaintPicture.
    Code:
    Picture1.PaintPicture Picture2, 30, 30, Picture2.Width, Picture2.Height

  3. #3
    Member
    Join Date
    Nov 2000
    Location
    Palma de Mallorca, Spain
    Posts
    39

    Smile This way is even shorter

    [CODE]
    Picture1.picture = Picture2.picture
    [CODE/]
    Code:
    On Error goto Hell

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