Several text lines in a TStaticText  

Send By: Radikal (Q3 Team)
Web : http://www.q3.nu
Email: radikal@q3.nu
Date: 24/01/00

Tip accessed 533 times

 


Simply separate the lines with a #13 character.

Example


 procedure TForm1.Button1Click(Sender: TObject);
 begin
   StaticText1.Caption:='Linea Uno'+#13+'Linea Dos';
 end;



Ah!, remember do not put its AutoSize property to TRUE...