Results 1 to 3 of 3

Thread: [RESOLVED] Picture within Form (Resize)

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Resolved [RESOLVED] Picture within Form (Resize)

    i have a big picture in my form. when form is set to maximize then whole picture is displayed inside its container (Form), but when form is restore or resized then whole picture is not displayed in form. my question is how to know that now whole picture is not displayed in the form, And how to know that now whole picture is displayed
    Last edited by chunk; Mar 10th, 2008 at 11:34 AM.

  2. #2
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Picture within Form (Resize)

    If you're using a picture loaded directly on the form, just compare Me.Picture.Height and Me.Picture.Width to Me.Height and Me.Width. If you're loading the picture from file manually you can do the same thing with your picture object.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: Picture within Form (Resize)

    i did it by using ScaleWidth and ScaleHeight. thanks for help

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