Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Dec 2000
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Height property of form? (97/SR-2)

    This is one of those seemingly simple problems, but infuriating, because apparently there's no obvious answer?

    Forms in Access have a Width property but no Height property. I have 5 forms which I want to be the same exact size when the user first uses them (I don't care if they re-size them later). Now since I've set the Width property manually for these forms, all their widths are the same. But there's no way to set the Height property -- because it doesn't exist! Now all my forms are different heights, and even when I graphically re-size the heights and re-save the forms, it doesn't stick.

    Anyone know of a workaround for this?

    Thanks,

    Stephan

  2. #2
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Height property of form? (97/SR-2)

    Hi Stephan,
    It's true that forms don't have a height property - however each section of the form does: Detail, headers and footers so you can set the heights of each of these to achieve what you want. Personally, I just maximise forms when they open.
    Hope that helps.
    Regards,
    Rory

    Microsoft MVP - Excel

  3. #3
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Sint Niklaas, Belgium
    Posts
    2,778
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Height property of form? (97/SR-2)

    Stephan,

    Maybe you can use
    Screen.ActiveForm.InsideHeight = some value in tips
    in the on open event of your form to set his height.
    Francois

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •