Results 1 to 6 of 6
  1. #1
    taylorosso is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    29

    form positioning

    hi,



    does anyone know how you can adjust the position of a form when it loads?

    I assumed it could be done using the 'grid x' and 'grid y' property however no matter what value i input the form always opens up in the same place.

    Maybe I have a contradicting property selected somewhere which is preventing the grid reference property from taking effect...?

    hope you can help!

    thanks

  2. #2
    taylorosso is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    29
    problem solved...

    inserted the following event procedure;

    Private Sub Form_Open(Cancel As Integer)
    DoCmd.MoveSize 4500, 3000
    End Sub
    change the numbers 4500 and 3000 to alter the x and y position.

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Good solution! Are you ready to use the Solved thread tool yet?

  4. #4
    taylorosso is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    29
    yes, would if i knew how!

  5. #5
    taylorosso is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    29
    solved how to solve!

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Bingo! Good job.

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

Similar Threads

  1. Positioning Tabular Labels
    By rod147 in forum Forms
    Replies: 6
    Last Post: 07-06-2009, 11:02 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