Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change graph values programatically ???
Message
De
04/05/1998 13:03:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/05/1998 09:57:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096651
Message ID:
00096764
Vues:
21
>>>I have a graph in my form, and i want to change the values of a point programatically, not issuing 'append general' with a DATA option.
>>>It is possible ?
>>Carlos,
>>Yes possible. Since you have graph object on your form, it means you have access to any PEM of MSGraph object.with ThisForm.myGraphObject.object.application.datasheet
>> .cells(2,4).value = 35 && Set row 2 col 4 value to 35 - no need for refresh
>>endwithCetin
>
>Thanks Cetin, that works fine.
>I have been a lot of time checking 'ThisForm.myGraph.application.datasheet.cells(2,4).value = 35'
>without 'object'.
Carlos,
With OLE automation objects, if a property with same name exists (better exists or not) in VFP I strongly advice to use "object" addition to assure you're referring to OLE control. Sometimes I spend so much time in debugging also the code seem perfect (only "object" missing).
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform