D
Doug Bell
Hi, I am having some difficulty getting a form to Maximise.
The form initially loads and maximises.
With no User activity it will minimise after a delay.
When the User clicks on the Task Bar the form re-appears but Normal not
Maximised.
I have the Forms WindowState property set to Maximised
I also have code in the Activate event of the form
Private Sub FormOrders_Activated(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Activated
'Set Timer to Minimise Form
timFormActivate = Now()
TimerMin.Enabled = True
dacCheckUpdate()
'Set Window Size
WindowState = FormWindowState.Maximized
End Sub
Can someone please explain why the form does not Maximise?
Thanks
Doug
The form initially loads and maximises.
With no User activity it will minimise after a delay.
When the User clicks on the Task Bar the form re-appears but Normal not
Maximised.
I have the Forms WindowState property set to Maximised
I also have code in the Activate event of the form
Private Sub FormOrders_Activated(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles MyBase.Activated
'Set Timer to Minimise Form
timFormActivate = Now()
TimerMin.Enabled = True
dacCheckUpdate()
'Set Window Size
WindowState = FormWindowState.Maximized
End Sub
Can someone please explain why the form does not Maximise?
Thanks
Doug