I need to minimise a form, without using the buttons on the app. bar. I was thinking something like:
Form1.minimize
but this doesn't work. Has anyone got any ideas?
Printable View
I need to minimise a form, without using the buttons on the app. bar. I was thinking something like:
Form1.minimize
but this doesn't work. Has anyone got any ideas?
Form1.WindowState = 1
I always recommend using constants because the code is much clearer:
Code:Form1.WindowState = vbMinimized
Form1.WindowState = vbMaximized
Form1.WindowState = vbNormal
um...
dude, Form1.WindowState = 1 is a constant.
Of course it is! I meant using named constants.
OK, I'll let you off...
this time.
Bwahahahahaha