Home VCL Poems TMemo

begin  // VCL
  var myMemo := TMemo.Create(Application);
  myMemo.Parent := MainForm;
  myMemo.Align := TAlign.alClient;
  myMemo.Margins.SetBounds(30,30,30,30);
  myMemo.AlignWithMargins := True;
  myMemo.Lines.Add('I am TMemo' + sLineBreak);
  myMemo.Lines.Add('I am Delphi' + sLineBreak);
  myMemo.Lines.Add('I am RAD Studio');
end;
In Delphi's world of code and text,
The TMemo stands so plain in context.
A box for multiline input to show,
Its purpose clear and often to know.

With properties to change its style,
Its color, font, and text compile.
It stands there waiting on the form,
For user input to take its norm.

A useful tool, yet oh so great,
A building block we often create.
The TMemo, a trusty field,
For user input to be revealed.

So here's to you, dear TMemo,
A component true and never slow.
In Delphi's world of code and sight,
You help us capture text just right.
Scroll to Top