Lukas Jankauskas
Lukas Jankauskas

Reputation: 31

Add text to TEdit like in TMemo Delphi

I need to add text from program to Edit01 like to memo01:

 memo1.Lines.Add(inttostr (b));

I have f as integer number and i need to add it to edit01.

Upvotes: 0

Views: 1980

Answers (1)

ain
ain

Reputation: 22759

The TEdit is single line editor and thus doesn't have Lines property, you have to use Text instead:

Edit01.Text := IntToStr(f);

Upvotes: 2

Related Questions