Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rich Text Active X Control
Message
De
06/12/2007 14:42:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
06/12/2007 14:33:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01272587
Message ID:
01273701
Vues:
25
>I'm still lost as to how to set the font color for the rich text box. I am displaying raw text from a simple text file and I want to set the font color for the entire rich text box. Any help is very appreciated.

Then select everything: .selstart=0, .selLength=len(.text) or len(.textRTF) (you'll have to try) and then set .selColor to any RGB() value you want.

If you want to set the colors for the text that'll be input by the user, then set the .Font.color property; same goes for .bold etc - you can actually have a toolbar with buttons which will do that. There should be an example of such a toolbar in the Solutions folder (home(2) then below that).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform