Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting fonts in MSGRAPH
Message
De
28/11/2002 20:36:14
Raul Davila
Davila Programming Services
Toa Alta, Porto Rico
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Setting fonts in MSGRAPH
Divers
Thread ID:
00728068
Message ID:
00728068
Vues:
45
Hi,

Does anyone know how to change the fonts of a MSGRAPH.CHART.8 ole control?
I've spent hours using the OLE View tool browsing the typelib.

I can get a reference to the Axis and the Data Labels but the Font property is read only:
[propget, helpcontext(0x00010092)]
HRESULT _stdcall Font([out, retval] Font** RHS);

I initially tried to use the FFC Autograph class and tried to get it to use my own preview class, so I could create the chart object and set the properties in the form designer. Unfortunately, every time I tell Autograph to use my preview class I get a lot of OLE errors.

TIA
R. Davila
DBA / Network Administrator
Administracion de Fomento Comercial
Gobierno de Puerto Rico

Still waiting for FoxPro for LINUX
Répondre
Fil
Voir

Click here to load this message in the networking platform