We help IT Professionals succeed at work.

Double click to resize form

chiwan
chiwan asked
on
Medium Priority
662 Views
Last Modified: 2010-04-06
Normally, if you double click the form title bar, it could automatically resize form, But I don't why, my form can't be resized by double the title bar, need to click Maximize button to do it. Which property I set wrong? Please help.

Thanks
Chiwan
Comment
Watch Question

Commented:
That depends on your BorderStyle setting!

for example you can resize 'bsDialog' but if you change it to 'bsSizeable' than you can!

Author

Commented:
Not work, I have already setup BorderStyle as bsSizeable, still not work.

Please help

Chiwan

Commented:
Does your left mouse button behave correctly?

Author

Commented:
Yes, no problem for mouse button.

Thanks

Chiwan

Commented:
chiwan, I'm sorry - I was only joking. Could you tell me what Windows version do you use. Also it would be more easier to help if you can supply the text dump of your form's *.dfm file and tell us if you have any event handlers attached to the form...

Did you experience this behaviour also on a new form created from a scratch?

Ivo
It would be great to have your *.dfm.  

You should post it!

Mark.
Make sure that SorderStyle = bsSizeable
              FormStyle = fsNormal
              BorderIcons = biMaximize (True)
                            biMinimize (True)

If it's not one of those properties, you should look for Procedure or calls that affect those properties
at run-time!
Eddie ShipmanAll-around developer
CERTIFIED EXPERT

Commented:
He could also have constraints on his form.