Home VCL Poems TEdit

begin  // VCL
  var myEdit := TEdit.Create(Application);
  myEdit.Parent := MainForm;
  myEdit.TextHint := 'What are you?';
  myEdit.Text := 'I am TEdit';
  myEdit.Align := TAlign.alTop;
  myEdit.Margins.SetBounds(25,25,25,25);
  myEdit.AlignWithMargins := True;
end;
In Delphi's world of code and type,
The TEdit stands so plain in sight.
A box for text input to flow,
Its purpose clear and easy 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 handy tool, yet oh so fine,
A building block we often define.
The TEdit, a trusty field,
For user input to be revealed.

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