Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Graph
Message
From
25/09/1998 02:27:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/09/1998 00:48:32
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00137620
Message ID:
00140725
Views:
26
>>
>>Cetin,
>>Thanks for your help. THis has solved my problem.
>>The help file explains the PlotBy property as:
>>
>>mygraph.PlotBy = value
>>
>>This generates an error.
>>
>>You have used:
>>mygraph.object.application.plotby = value
>>How and where did you get this object model. The help file does not state anything.
>>Thanks
>>
>>Abdul Ahad
>
>Which help file are you talking about? Where did you find info on the PlotBy property.
>
>BTW. I am not the author of the sample code. You replied to the wrong person in the thread.

Hi Matt and Abdul (short for your name, right ?),
Matt, Abdul replied to correct person and you were CCed (as this message CCed to me). He's talking about help files I told you - I did, didn't I ? - (vba_grp.hlp and vbagrp8.hlp).
Abdul no extra place for object model. I'm not sure for vba_grp.hlp but in vbagrp8.hlp :
Plotby - Applies to -> Application object (same as datasheet). So from VFP with having chart object we refer to its application object and syntax becomes :
mygraph.application.plotby, "object" keyword comes from VFP (see "object" help) to access OLE server PEM of OLE object (what a definition) :
OLEObject.Object[.Property] [= eValue]
– Or –
OLEObject.Object[.Method]
So the final syntax : mygraph.object.application.plotby. SAme applied to datasheet (mygraph.object.application.datasheet.cells(nRow,nCol)).
BTW "object" has a wider explanation on online doc. From my point of view whenever I got into trouble with activeX I add an "object" keyword (activex might have fontname property and VFP knows that poperty very well, to distinguish you're referring to activex's fontname you add "object").
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform