N
Nathan Carroll
in the following load event my form becomes visible before I have set its
position. I'd like to set its position and then have the form become
visible. In other words I'd like to process the code in the sub form top to
bottom. Is there a setting for the project that I need to activate to
process like this?
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Me.Left = SystemInformation.WorkingArea.Width - Me.Width
Me.Top = SystemInformation.WorkingArea.Height - Me.Height
fMain.CurrentDate.Text = CStr(Now())
f.Close()
Me.Visible = True
Me.ShowInTaskbar = True
End Sub
position. I'd like to set its position and then have the form become
visible. In other words I'd like to process the code in the sub form top to
bottom. Is there a setting for the project that I need to activate to
process like this?
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles MyBase.Load
Me.Left = SystemInformation.WorkingArea.Width - Me.Width
Me.Top = SystemInformation.WorkingArea.Height - Me.Height
fMain.CurrentDate.Text = CStr(Now())
f.Close()
Me.Visible = True
Me.ShowInTaskbar = True
End Sub