I have an application that clicks on labels
a edit
gets its caption
as follows:
Edit1.Text := Edit1.Text + TLabel(Sender).caption+ ' ';
After that I click ok, and this information changes to memo
.
But the problem now appears when clicking ok this code sends the data to memo
:
Memo1.Lines.add(' '+'if'+' '+ cond1+':');
The memo
gets the following value for example:
if dose > 0 :
You may notice that after 0 there is a space, I would like to remove it so it looks like this:
if dose > 0: