Link to home
Start Free TrialLog in
Avatar of RYMENHOUT
RYMENHOUT

asked on

vbMAXIMIZE

I have a command button on a form with the following code in it

me.windowstate = 2 'this maximizes the form

the problem is that it maximizez the form to the screen height and witdth and covers the taskbar how can i prevent this from happening
Avatar of Dave_Greene
Dave_Greene

I've seen this type of problem before.  You most likely need to change the size of the form in the development environment.  Make the form smaller (smaller than the current window size) and try it again.

cheers
I think if you add a system object, one of the methods is the screensize excluding the taskbar, so you can simply resize your app to those settings.
ASKER CERTIFIED SOLUTION
Avatar of egsemsem
egsemsem

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial