Dialog still resizeable?

D

Dennis

I must be missing something simple here...

I have a dialog which I invoke with ShowDialog. This dialog has
FormBorderStyle set to FixedDialog. Why is the dialog still resizeable?

The only thing I can do to stop this is to set MinimumSize and
MaximumSize to fixed values. But I shouldn't have to do this, right?
 
A

Armin Zingler

Am 08.08.2011 03:23, schrieb Dennis:
I must be missing something simple here...

I have a dialog which I invoke with ShowDialog. This dialog has
FormBorderStyle set to FixedDialog. Why is the dialog still resizeable?

The only thing I can do to stop this is to set MinimumSize and
MaximumSize to fixed values. But I shouldn't have to do this, right?

Right, you shouldn't have to. I can't repro this behavior in a new
project - can you?
 
D

Dennis

I must be missing something simple here...

I have a dialog which I invoke with ShowDialog. This dialog has
FormBorderStyle set to FixedDialog. Why is the dialog still resizeable?

The only thing I can do to stop this is to set MinimumSize and
MaximumSize to fixed values. But I shouldn't have to do this, right?

Never mind. Pilot error...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top