Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rich Text Active X Control
Message
De
30/11/2007 17:46:44
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
30/11/2007 17:37:45
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:
01272589
Vues:
21
>Can someone please tell me how you go about changing the font properties of the Rich Text Active X control programmatically. As in changing the font name, font size, etc...

It has a .Font member object, properties of which are what you need.
with this.font
   .bold=.t.
   .name="Georgia"
   .size=11
endwith
Debugger may not know all of these properties, but intellisense does. Do the poor man's builder - open your rtf subclass for editing, select it
aselobj(a)
ox=a(1)
ofo=ox.font
ofo.   
...and the dot in the last line is where the intellisense will kick in. Then just copy what you've done in command window into your method.

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