Re: My progressbar
Posted: Mon Jan 31, 2011 11:38 am
Good stuff! I really like it...
Sharing, Teaching and Supporting coders of all ages and levels since 2009
https://www.codenstuff.com/forum/
If maxi = True Then
Me.WindowState = FormWindowState.Maximized
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedSingle
maxi = False
ElseIf maxi = False Then
Me.WindowState = FormWindowState.Normal
maxi = True
End If
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Agust1337 wrote:I added two lines to the maximize code, so it wont go over everything(Like the taskbar)Great!
Just copy this to the maximize button:
Dim f1
If maxi = True Then
Me.WindowState = FormWindowState.Maximized
f1 = Label1.Text
Label1.Text = " " & f1
Panel3.Visible = False
Panel4.Visible = False
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.FixedSingle
maxi = False
ElseIf maxi = False Then
Me.WindowState = FormWindowState.Normal
Label1.Text = f1
Panel3.Visible = True
Panel4.Visible = True
maxi = True
End If
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None