   C++Builder_______________________147

      Memo    -
   Font  Memo,   ,    
 .

 Bichedit       RTF.  -
         
 SelAttributes.    TTextAttributes,    
 : Color (), Name ( ), Size (), Style () 
 . ,     Richedit,  
 FontDialog (.  3.6.4)   Button,   -
   .      :

if(FontDialogl->Execute())

RichEditl->SeiAttributes->Assign(Font Dialogl->Font) ;

RichEditl->SetFocus() ;

   ,      , -
    , , , -
.       ,  
 ,     ,     
 (    SelStart).

     DefAttributes,   
.      ,   
  SelAttributes.     Def Attributes   
       Assign  
 SelAttributes,     .

 DefAttributes     .  
    , ,   
OnCreate.

 ,   ..      -
 Paragraph  TParaAttributes.        :

Alignment (),   taLeftJustify (), taCen-
ter ( )  taRightJustify (); Firstlndent    
 ; Numbering   ,    ( nsNone
  ,  nsBullet   ); Leftlndent  Rig-
htlndent         ; TabCount  Tab  -
         (  
        WantTabs = true, 
      ).  
 Paragraph       ,
,        - .
   Paragraph    ,   -
 . , 

RichEditl->Paragraph->Alignment = taCenter;

     .  
RichEditl->Paragraph->Numbering = nsBullet;

  ,       , ..  -
.

    Memo  Richedit.   
    .

 Alignment  Wordwrap    , , ,  -
,         .
  ReadOnly  true     . 
MaxLength     .  MaxLength =
,     .  WantReturns  WantTab 