Connecting Tech Pros Worldwide Help | Site Map

Dynamically change a form's height

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 29th, 2006, 08:55 AM
Ramon
Guest
 
Posts: n/a
Default Dynamically change a form's height

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, 08:55 AM
Ramon
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.