Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21870

[RESOLVED] Manual form maximize code.

$
0
0
There is a borderless form. There is also a picture box. I would like that when the user double clicks the button, it will maximize the form. I don't want to use me.windowstate = vbmaximized because it created a lot of problems. I want to manualy maximize the form using:
Code:

me.top = 0
me.left = 0
me.width = screen.width
me.height = screen.height

So far so good. But what about restoring the form to its normal sizes? I've tried a lot of things, but none worked.
Thanks.

Viewing all articles
Browse latest Browse all 21870

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>