Results 1 to 4 of 4
  1. #1
    swenger is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2016
    Posts
    151

    Keeping forms a specific size

    I am trying to figure out the best way to have a form popup and control the size. Currently I have it as sizeable and my issue is that in the form mode, I can size it to what I want and save it. When I close and reopen the form, it stays as my size. However, as soon as I open in design mode then when I go back to form mode it reverts back to a different size. Alsosizeable will allow other users to change the size.

    Is there a way to either use thin or dialog and program the size I want or is there a way with sizeable to keep the size I changed it even if I go back into design mode.

    Thanks
    Sam

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,841
    use the move command for the form in the open event

    me.move left, top, width, height

    values are in twips - 1440 twips = 1 inch, 567 twips = 1 cm

    and are identified with the windowleft, windowright, etc form properties

  3. #3
    swenger is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Mar 2016
    Posts
    151
    Excellent. Thanks.

    BTW, I couldn't find the windowleft, etc... in the form properties, but I prefer the code anyways

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,841
    like many properties (e.g. datasheet properties) you won't find it in the properties form, but in code you would type

    me.window...

    and it should provide the dropdown of all the available properties

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 02-10-2015, 01:07 AM
  2. Replies: 8
    Last Post: 07-09-2012, 07:19 AM
  3. Keeping users name on forms
    By b_best in forum Forms
    Replies: 5
    Last Post: 02-18-2012, 08:26 AM
  4. Splitting DB; Keeping the Forms, Queries, Reports in BE
    By evander in forum Database Design
    Replies: 2
    Last Post: 07-07-2010, 04:59 PM
  5. Replies: 0
    Last Post: 03-17-2009, 11:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums