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

How to resize the form with Border style is none

Status
Not open for further replies.

dass

Programmer
Feb 25, 2002
33
IN
I want to allow the user to resize the form width only
But form's border style is none
 
Change the Form's border style to Sizeable... then, Set the form's properties MaxHeight and MinHeight to the same value... the Height you want to enforce.

It's a real pain to implement resizing on your own... it tends to be iffy because the form doesn't always capture mouse movements if the user happens to get the mouse to skip out of the form while dragging... it's best to just use the sizeable border.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top