Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize question?

Status
Not open for further replies.

andrest

Programmer
Jul 25, 2002
20
CA
Hi,

Does anyone know how to resize all the controls on the form when the user tries to resize the form? If the user tries to make the form bigger, all the controls (such as textbox, labels, command buttons...) have to be made bigger also. Is there a control that can help to do that?

Thank you very much.
 

yes there are several 3rd party controls that will auto resize your controls for you. If you want to do it your self then I would suggest that you figure out what you want your form to look like and base the left, top, height, and width on percentages of the form size. I would also suggest a minimum size for the form and place this code in the resize event of the form.

Good Luck
 
try thread222-253252
CajunCenturion gave a splendid solution there! Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Did you give a star to CajunCenturion? Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top