, , , , _______________________935

int Bottom;

};

property Windows::TRect BoundsRect



 BoundsRect   TRect    -
      .    
      Left ( ),  (-
 ). Width (). Height ()   .
 ,      :

Control->BoundsRect.Left             Control->Left
Control->BoundsRect.Top             Control->Top
Control->BoundsRect.Right            Control->Left + Control->Width
Control->BoundsRect.Bottom          Control->Top + Control->Height

       .

       -
    .    , , -
 BoundsRect.Left . , ,       -
.       BoundsRect.

   BoundsRect    Rect (.
 14.9  14),      -
   TRect.

  ,   , 
  ClientWidth  ClientHeight.    
.       Width  Height.

,   ,   , -
     .



1.   Panell       
  (,   Align = alTop).    
    StaticTextl  StaticText,    -
   ,    . 
 ,      OnResize  OnShow
:

StaticTextl->Left = (Panell->BoundsRect.Left + Panell->

BoundsRect.Right - StaticTextl->Width) / 2;

,           Bounds-
Rect,     :

StaticTextl->Left := Panell->Left + (Panell->

Width - StaticTextl->Width) / 2;

2.   ,        -
 Memol        -
  .       -
 Panell   ,   ,    
   :

Memol->BoundsRect F Panell->BoundsRect;