How do I set my form start at the right bottom site in any monitor resolution?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eng Teng

    #1

    How do I set my form start at the right bottom site in any monitor resolution?

    How do I set my form start at the right bottom site in any monitor
    resolution?


    Regards,
    Tee

  • Cor Ligthert[MVP]

    #2
    Re: How do I set my form start at the right bottom site in any monitor resolution?

    Eng,

    \\\
    Private Sub Form1_Load(ByVa l sender As System.Object, _
    ByVal ex As System.EventArg s) Handles MyBase.Load
    Top = Screen.PrimaryS creen.WorkingAr ea.Height - Height
    Left = Screen.PrimaryS creen.WorkingAr ea.Width - Width
    End Sub
    ///

    Cor


    "Eng Teng" <engteng@gmail. comschreef in bericht
    news:e6MaJqGrIH A.1228@TK2MSFTN GP05.phx.gbl...
    How do I set my form start at the right bottom site in any monitor
    resolution?
    >
    >
    Regards,
    Tee

    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: How do I set my form start at the right bottom site in any monitor resolution?

      "Eng Teng" <engteng@gmail. comschrieb:
      How do I set my form start at the right bottom site in any monitor
      resolution?
      \\\
      Dim BottomRight As Point = Screen.PrimaryS creen.WorkingAr ea.Size
      BottomRight.Off set(-Me.Width, -Me.Height)
      Me.Location = BottomRight
      ///

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

      Comment

      Working...