Results 1 to 2 of 2

Thread: form in bottom right

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2003
    Posts
    6

    form in bottom right

    Is it possible to get my form to open up in the bottom right of my screen when it is run?

    Thanks!

  2. #2
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    Yes

    Edits:
    here is the code
    VB Code:
    1. Dim scr As System.Windows.Forms.Screen
    2. scr = System.Windows.Forms.Screen.PrimaryScreen
    3. Me.StartPosition = FormStartPosition.Manual
    4. Me.Top = scr.WorkingArea.Height - Me.Height
    5. Me.Left = scr.WorkingArea.Width - Me.Width
    Maybe there are lots of other good ways.
    Last edited by Lunatic3; Jul 14th, 2003 at 01:45 PM.
    'Heading for the automatic overload'
    Marillion, Brave, The Great Escape, 1994

    'How will WE stand the FIRE TOMORROW?'
    Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979

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