Results 1 to 2 of 2

Thread: Problems resizing form...

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    Colorado
    Posts
    39

    Talking

    I need to resize my form based upon user input. I'm able to reposition everything, but my form ends up too short. lblstatus is a Label that sits at the bottom of my form so that the bottom of lblstatus touches the bottom of the form. Here is what I think should work, but doesn't. Apparently, I'm missing something very simple...


    frmReport.Height = lblStatus.Top + lblStatus.Height


    NOTE: lblStatus is in the right position, and it is of fixed size.

    Thanks
    LauRa
    "Work like you don't need the money...Love like you've never been hurt...Dance like nobody is watching..."

  2. #2

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    Colorado
    Posts
    39

    I figured it out...

    I guess I should be referencing form property ScaleHeight instead of Height.
    LauRa
    "Work like you don't need the money...Love like you've never been hurt...Dance like nobody is watching..."

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