I'm trying to figure out if I can get RTF Text from a Rich Edit Control. If I put the control on screen I can paste into it nice formatted text and it displays fine.
However, if I copy the RichEdit1.Lines to a Memo1.Lines it all appears as plain text, what I'm looking for is text with RTF...
My number seems to be truncating, is Extended the data type with the greatest range? Int he following code:
procedure TForm1.Button2Click(Sender: TObject);
var a : extended;
begin
a := 1.123456789123456789;
showmessage(floattostr(a));
end;
The Message shows as 1.12345678912346 seems it only...
How do I convert variable of type Extended to a string so that I can put the value in an Edit Control?
I have something like:
var a : extended;
begin
a := 1.123456789123456789;
EditBox.Text := (10 * a);
end;
But it will not convert the Extended to a string for the edit box. I looked at...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.