Results 1 to 3 of 3
  1. #1
    Aztecfan63 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2020
    Location
    Chula Vista, CA
    Posts
    5

    Question displayed position when 1st opening a form


    What controls the position of a form when I chose "Open" after Right_Clicking my mouse?

    Sometimes the left side of the form is my starting point ( I prefer that!) and other times it seems to start in the approximate center of the form.

  2. #2
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,801
    Pretty sure that if there is no code, or if the form is not wider than its window and nothing selects a control on the far right side, it is the position it was last in when you closed it.
    Not sure if you want the form window to open in a specific place on the screen (research form Top and Left properties, and/or MoveSize method of the form). If you're saying you want a specific field on a form that is wider than its window to be in view when the form opens that's different. You could set focus to that control for that purpose.
    Last edited by Micron; 01-08-2024 at 01:31 PM. Reason: clarification
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,474
    Sounds like it is controls on the form? If so like Micron said, find the top left field you want to start on and in the OnOpen event of that form, put [COLOR=var(--highlight-keyword)]Me[/COLOR]!YourField.SetFocus

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

Similar Threads

  1. how to position listview on Form?
    By Middlemarch in forum Access
    Replies: 3
    Last Post: 12-29-2023, 06:08 PM
  2. Replies: 5
    Last Post: 01-24-2015, 12:59 AM
  3. Position of Form Upon Opening
    By jsimard in forum Forms
    Replies: 2
    Last Post: 08-08-2014, 01:49 PM
  4. Replies: 8
    Last Post: 05-10-2012, 10:57 AM
  5. Set Form Position
    By Yance in forum Programming
    Replies: 3
    Last Post: 11-29-2010, 02:20 PM

Tags for this Thread

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