Results 1 to 4 of 4

Thread: position form to the top right of the screen??

  1. #1

    Thread Starter
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179

    position form to the top right of the screen??

    how can I position a form to the top right of the screen, independent of the screen resolution??

    And keep in count the form width ?

    Thanks.

  2. #2
    ATommasi
    Guest
    Me.Top = 0
    Me.Left = Screen.Width - Me.Width

  3. #3
    Matthew Gates
    Guest
    Here's another version of the code above, just sharin' .


    Code:
    Me.Move Screen.Width - Me.Width, 0

  4. #4

    Thread Starter
    Addicted Member c@lle's Avatar
    Join Date
    Oct 1999
    Location
    Belgium
    Posts
    179
    thanks a lot for the answers. I had already tried this by my own, but it wasn't working because right before I had changed my screen resolution. If you then try to use this code, it is not working.

    I had to restart my pc before it was working.

    bye

Posting Permissions

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



Click Here to Expand Forum to Full Width