• Log in or sign up for an account here: https://www.sythe.org/login

form2 location

Joined
Sep 24, 2007
Sythe Gold
0
Messages
5
Hi all,

TRying to make it so thats form2 loads in the top right on the screen as its start postion.

Anyone know the code?

Dose vb.net have the option where you can move an image about of your form, arround the image of a monitor to choose its loads postion like in vb6?

Thanks

Paul
 
the form start position is done like this;
Code:
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.StartPosition = FormStartPosition.Manual
        Me.Location = New Point((Screen.PrimaryScreen.WorkingArea.Width - Me.Width), 0)
    End Sub

I didn't understand your second question at all... mind elaborate?
 
duelarena.gg
Back
Top