Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting fonts in MSGRAPH
Message
From
28/11/2002 20:36:14
Raul Davila
Davila Programming Services
Toa Alta, Puerto Rico
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Setting fonts in MSGRAPH
Miscellaneous
Thread ID:
00728068
Message ID:
00728068
Views:
43
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
Reply
Map
View

Click here to load this message in the networking platform