Author Topic: Restrict Form Resizing?  (Read 4817 times)

0 Members and 1 Guest are viewing this topic.

Guest

  • Guest
Restrict Form Resizing?
« on: October 05, 2007, 09:29:05 AM »
I've got a dockable form and would like to restrict the resizing of it...in other words, I don't want users to be able to make it smaller than x and y units.

Can it be done with dockable forms?

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Restrict Form Resizing?
« Reply #1 on: October 05, 2007, 11:06:49 AM »
Matt, try setting your form's AllowResizing property to 'False'. :)

Guest

  • Guest
Re: Restrict Form Resizing?
« Reply #2 on: October 05, 2007, 11:28:39 AM »
Matt, try setting your form's AllowResizing property to 'False'. :)

But that won't allow me to resize it at all.  I'd like to allow the users to resize it when it's not docked, but I don't want them to be able to make it so small that controls begin to overlap one another.  Doable??!?

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Restrict Form Resizing?
« Reply #3 on: October 05, 2007, 02:40:58 PM »
Doable??!?

You could try handling the OnSize event and resizing it to the minimum, otherwise I'd say a feature request is on order. :)