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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form's minimum size 1

Status
Not open for further replies.

imagenetics

Programmer
Dec 8, 2003
66
PL
Is there any way to prevent the form from scaling below a given size? For example, all controls on the form are organized for designed dimensions, let's say 640*480, and I don't want the form to be sized below this. Sizing up is allowed, so I cannot set form's border to non-resizeable.
 
Yes, you can use the Constraints property of your form.

Like this:
Code:
Form1->Constraint->MinHeight = 640;
Form1->Constraint->MinWidth = 480;


--- LastCyborg ---
 
Just his? <Blushes> Perhaps I should do more research before posting a question. Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top