|
-
Sep 4th, 2002, 04:04 AM
#1
Thread Starter
Junior Member
maximize windows?
Whenever I write programs in VB I have to disable the maximize button because when you press it all the controls stay in their original place and are not redrawn and repositioned after the new window. Is there an easy way to reposition all the controls when a window gets maximized?
-
Sep 4th, 2002, 04:06 AM
#2
Frenzied Member
Set the BorderStyle of your form to 1 - Fixed Single
-
Sep 4th, 2002, 04:06 AM
#3
Hyperactive Member
You have to write some code for that in the Form_Resize() sub
When people press maximize your controls resize to screenwidth, or whatever you want
-
Sep 4th, 2002, 04:07 AM
#4
Frenzied Member
Originally posted by phrozeman
You have to write some code for that in the Form_Resize() sub
Whats the point in that? Why dont you just set the BorderStyle of
your form??
-
Sep 4th, 2002, 04:10 AM
#5
Thread Starter
Junior Member
Setting borderstyle to 1 just eliminates the maximize button. I want to be able to maximize my program so you have to play with coordinates but how?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|