How to add RTF text to existing text in TMemoField

light_bulb
light_bulb used Ask the Experts™
on
I have a TMemoField with some RTF text already in it.  How can I add more rtf text to it at runtime?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
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)

Commented:
Instead of a TMemo, use a TRichEdit.  
Commented:
After I pressed submit, I noticed that it was a TMemoField, not a TMemo.  In this case, use the JEDI components, and use a JVDBRichEdit.

Author

Commented:
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!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial