Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RTF Text
Message
De
04/05/2014 17:11:21
 
 
À
04/05/2014 15:37:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01599526
Message ID:
01599527
Vues:
72
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform