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

Disable Resizing help?

Status
Not open for further replies.

savok

Technical User
Jan 11, 2001
303
AT
i want to disable resizing so the user cant resize the form

i want the user only to minimize the form, and then click on it in the task bar to maximize it.

i disabled the MaxButton and set the border to fixed single

but when the user double clicks on the blue bar at the top of the window the form gets smaller. How do i disable that?

 
one way is like this:
first, when u design note the width and height of your form, then on formresize event set the width and height to the value that you noted down.

good luck.
----------------------------------------
There's no good nor evil, it's all in the mind.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top