Text in several columns in a TMemo  

Send By: Radikal (Q3 Team)
Web : http://www.q3.nu
Email: radikal@q3.nu
Date: 30/09/99

Tip accessed 559 times

 


Simply put the WantTabs property to TRUE, and add the lines, separating the columns with ^I

A example:

  • Put a TMemo (Memo1)
  • Put to TRUE the Memo1.WantTabs property
  • Put a TButton (Button1) and put this in its OnClick event:


     procedure TForm1.Button2Click(Sender: TObject);
     begin
       Memo1.Lines.Add('Una'^i'Dos');
     end;