248______________________________________________ 4

,   ClientHeight ,  Height,   ,  -
,     ,   .

        
  ,      
   OnResize.      -
 ,   .    -
       
,           OnShow.  -
        :

StaticTextl->Left = Panel2->Left + (Panel2->ClientWidth -

StaticTextl->Width) / 2;

ListBoxl->Height = min(Panell->ClientHeight - ListBoxl->Top - 20,

ListBoxl->ItemHeight * (ListBoxl->Items->Count +1)),

        StaticTextl ,
       12.    -
   ListBoxl     Panell.  
       ,   , 
 ,           . 
        List-
Box: ItemHeight    , Items->Count   .  -
    min,     .
 ,      ,    -
   

ftinclude <stdlib.h>

  stdlib.h,     .

       . 4.9. 
  ,        
  .

. 4.9                          |"""       '      '
                      ,          ,.     ,....,..,, """"!1

'..',.:':'',,,  1              ,,'.>^^

 4

"' ''!1! "t*  5

 6         :HI

 7

I.  ,,,-,.,J  8
'  9

mew,         ;|1

- :::::::!::  11
 12

4.2.3    

       
        -
 .        -  -
    ,   
.        -