Results 1 to 3 of 3

Thread: form position

  1. #1
    Join Date
    Aug 2003
    Posts
    47

    Unanswered: form position

    Hey

    Anybody knows of a way to position a form on the screen at a certaion location?
    Say, at the top of the screen?

    Thanks
    F..ck it, gimme a beer... Jimi Hendrix RULES!

  2. #2
    Join Date
    Sep 2003
    Posts
    30

    Re: form position

    Originally posted by sup
    Hey

    Anybody knows of a way to position a form on the screen at a certaion location?
    Say, at the top of the screen?

    Thanks
    The following is from VB6.

    I have a better example and if I get the chance and my wife "allows" me I'll look for it.

    Private Const ONE_HALF As Single = 0.5!

    Private Sub CenterMyFormPlease()
    '
    Me.Move (Screen.Width - Me.Width) * ONE_HALF, (Screen.Height - Me.Height) * ONE_HALF
    '
    End Sub

    hth,

    Bob

    PS
    its jimi hendrix not handrix!

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1

    Re: form position

    Originally posted by sup
    Hey

    Anybody knows of a way to position a form on the screen at a certaion location?
    Say, at the top of the screen?

    Thanks
    Use

    DoCmd.MoveSize [right][, bottom][, width][, height]

Posting Permissions

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