1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Sizing of forms

Discussion in 'Business Applications' started by Rockn, Feb 10, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. Rockn

    Rockn Thread Starter

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    I have run into what seems to be a common issue with forms and resizing of other forms that are already open. If I open a main form full screen and open another smaller form, the small form I want to stay small also goes full screen. If I hit the restore button on the small for the main form also resizes with it and cuts off half of the window and I have to resize it again. Annoying to say the least!! I am tire of trying to accomodate screen sizes so I am going full screen on the majority of the forms with the exception of a few forms that do not need to be that large.

    LEmme know what you think.
     
  2. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
    Rockn: Which application? Access? I think you can set form screen sizes independently.
     
  3. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    Morning Anne and Rockn, Anne is correct, there are 2 methods that should help you, the first is
    Docmd.Restore
    which should put your Form back to it's previous "Window" size.
    The other is
    Docmd.MoveSize
    which both positions and sizes the Form and window to your specification.
    They should go in the Form's On Load event procedure.
    I haven't actually tried them as I like all my Forms Maximised. :)
    Other properties that you might want to look at are "Modal", (always on top and diasables other forms until closed) and "Pop-Up".
     
  4. Rockn

    Rockn Thread Starter

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    I think I may have figured this one out. The initial form is set to onLoad DoCmd.Maximize and the child forms properties are set to popup = yes. Now the child forms open at their original design size and also obey MinMax buttons disabled.
    I think Modal is a function where no other forms can be closed while the form in the foreground is open.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/543001

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice