By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,846 Members | 2,107 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,846 IT Pros & Developers. It's quick & easy.

form size - no resize

P: n/a
Hi All,
I have an app where I change the size of the form at run time using controls
and I do not want the user to be able to resize the form, I have removed the
min and max buttons. I have tried to set the min and max size to what I want
but now the form will not resize when they should be, it looks like I could
change the min and max size everytime I want to resize the form but this
seems a little cumbersome - - any easy way of doing this??

thanks in advance,
Roger.

Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Set the form's FormBorderStyle property to one of the following:
Fixed3D
FixedDialog
FixedSingle
FixedToolWindow
None

None of these styles allow the user to resize the window.

Tom Dacon
Dacon Software Consulting

"Roger" <Ro***@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
Hi All,
I have an app where I change the size of the form at run time using controls and I do not want the user to be able to resize the form, I have removed the min and max buttons. I have tried to set the min and max size to what I want but now the form will not resize when they should be, it looks like I could change the min and max size everytime I want to resize the form but this
seems a little cumbersome - - any easy way of doing this??

thanks in advance,
Roger.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.