Dynamically change a form's height

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello experts,

I have a little problem here:

In my project, I have a form that contains a limited (but unspecified)  
number of dynamically created controls, which are all placed along a  
vertical axis.

Therefore, I need to determine this form's height, to make it fit all  

The form's Height value depends on Window's style (XP has a thicker bar than  
W2K), and the ScaleHeight value is readonly in runtime.

Is there a way to do this?

Thanks in advance!

Re: Dynamically change a form's height


I posted it on the wrong NewsGroup...

Quoted text here. Click to load it

Site Timeline