Connecting Tech Pros Worldwide Help | Site Map

Dynamically change a form's height

  #1  
Old June 29th, 2006, 09:55 AM
Ramon
Guest
 
Posts: n/a
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
controls.

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!
Ramon.


  #2  
Old June 29th, 2006, 09:55 AM
Ramon
Guest
 
Posts: n/a

re: Dynamically change a form's height


Sorry,

I posted it on the wrong NewsGroup...




"Ramon" <itsramon@zonnet.nl> wrote in message
news:44a395df$0$31645$e4fe514c@news.xs4all.nl...[color=blue]
> 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
> controls.
>
> 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!
> Ramon.
>[/color]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to calculate row total in dynamic form? Rich_C answers 4 June 19th, 2006 11:45 PM
add row dynamically in a table which contains textfields,button. anirban.anirbanju@gmail.com answers 6 March 19th, 2006 07:55 PM
Browser Height in IE? NOT document height Kepler answers 12 July 23rd, 2005 02:48 PM
Dynamically change bgColor of table cell? kj answers 5 July 20th, 2005 03:29 PM