>Hi All,
>
>I have an edit control that I want to add text to. Is it possible to create RTF text i.e. create a string with some bolded text or some different colours, etc? Is this done through control markers or something? If so, can it be done programmatically?
I believe RTF files/strings can be created programmatically but it's non-trivial.
Maybe you could automate Word, and save it as RTF using ExportAsFixedFormat(), then FileToStr() the file and put it in your control.
All this assumes that your VFP edit control can handle RTF i.e. not a native text or edit box (?)
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up