Results 1 to 3 of 3

Thread: Background Picture Resize

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Cool

    If I use the Picture property of the form, I can specify it to put a bitmap on the form as the background.

    Is there any way that I can resize the picture to adjust to the form size?

    Thanks

  2. #2
    Junior Member
    Join Date
    Jan 1999
    Location
    Q.C., Phils.
    Posts
    27
    Use the PaintPicture Method:

    Me.PaintPicture Me.Picture, 0, 0, , , 0, 0, Me.ScaleWidth, Me.ScaleHeight

    You must set the AutoRedraw property of the form to true, otherwise the image will be erased once the form is covered by another object.
    Share your knowledge, it is the best way to achieve immortality

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Taipei
    Posts
    318

    Unhappy

    Eclipse,

    Thanks for your code, but may be you misunderstand what I am looking for.

    I need to proportionally enlarge or diminish the picture when I resize the form.

    Is there any solution?


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