[Help] start location

Posts 1–6 of 6 · Page 1 of 1
[Help] start location
how would i manually select the start position of my form?
for example:
"100, 50"
I wrote a little sub for you:

Code:
Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        moveform(500, 450)
    End Sub

    Private Sub moveform(ByVal x As Integer, ByVal y As Integer)
        Me.Location = New System.Drawing.Point(x, y)
    End Sub
End Class
Quote Originally Posted by Blubb1337 View Post
I wrote a little sub for you:

Code:
Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        moveform(500, 450)
    End Sub

    Private Sub moveform(ByVal x As Integer, ByVal y As Integer)
        Me.Location = New System.Drawing.Point(x, y)
    End Sub
End Class
you.... i wanted to say tht /close this?
damn... beated in time..... uff xD
Quote Originally Posted by Sixx93 View Post
damn... beated in time..... uff xD
grrr blub next time i'll beat you :P
NICE!!
it works..thanks!
/solved
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us