Link to home
Start Free TrialLog in
Avatar of light_bulb
light_bulbFlag for United States of America

asked on

How to add RTF text to existing text in TMemoField

I have a TMemoField with some RTF text already in it.  How can I add more rtf text to it at runtime?
Avatar of APS NZ
APS NZ
Flag of New Zealand image

Where is the extra text coming from?  If you are not wanting a way to type it in you could paste it in using PasteFromClipboard (after you have copied it from source to clipboard first)
Avatar of sburck
sburck

Instead of a TMemo, use a TRichEdit.  
ASKER CERTIFIED SOLUTION
Avatar of sburck
sburck

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of light_bulb

ASKER

Ok,  what  I would up doing is storing the RTF I needed to insert in a component called  TLMDRichLabel, and then added it to the memo field.  sburck gets the points, since he led me in the general direction.

Thanks!