Results 1 to 9 of 9

Thread: Form Size

  1. #1
    Join Date
    Oct 2007
    Posts
    34

    Unanswered: Form Size

    I have a form that I need to "stretch" to file the entire screen it's being viewed on. At times the form is viewed on a desktop monitor and at other times it's viewed on a 10" tablet.
    Is there a way to make the form fill the entire screen on both instruments.

    Don...........

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    what type of form?
    what front end tool are you using
    I'd rather be riding on the Tiger 800 or the Norton

  3. #3
    Join Date
    Oct 2007
    Posts
    34
    I'm not sure what you mean about what type of form. I'm using MS Access 2000.
    It's an Access form that I created.
    Not sure that answers your question.


    Thanks for your quick help,
    Don........

  4. #4
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    OK so I'll move it to the Access forumd.
    it wasn't clear if you were using Access, Oracle, VB or some other front end that uses 'forms'
    I'd rather be riding on the Tiger 800 or the Norton

  5. #5
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    see if the form supports the maximise property
    I'd rather be riding on the Tiger 800 or the Norton

  6. #6
    Join Date
    Oct 2007
    Posts
    34
    I'm assuming you mean in the properties box. I did find the min and max box. I changed it to maximize but the form is still the same size.

  7. #7
    Join Date
    Nov 2012
    Posts
    32
    Put this line into the form OnLoad event:
    DoCmd.Maximize

    Then you can play around with Layout and Anchoring so that certain controls on the form stretch to fill the screen on larger monitors.

  8. #8
    Join Date
    Oct 2007
    Posts
    34
    I already added this. Should I do something different?
    Don.....
    Private Sub Form_Load()
    On Error GoTo err_form_open
    DoCmd.Maximize
    exit_form_open:
    Exit Sub
    err_form_open:
    MsgBox Err.Description
    Resume exit_form_open
    End Sub

  9. #9
    Join Date
    Oct 2007
    Posts
    34
    should add, the code I wrote doesn't work to maximize the form.

Posting Permissions

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