Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating MSGraph
Message
De
14/09/2004 09:09:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/09/2004 08:51:05
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00941870
Message ID:
00941874
Vues:
8
>I need help in removing a trendline on my graph. I phyisically added the trend line in my ole control on my form. Now when I run the form the trendline displays. I can't seem to find the right syntax to add to the rest of my automation code to remove it.
>
>x123 = THISFORM.Olecontrol1.SeriesCollection(1)
>x123.Trendlines.Add(1) &&Adds the trendline
>
>But
>x123.TrendLines.Item(1).Delete &&Will not remove it
>
>And I can't find a way to remove it from the physical ole control either, just how to add one.

Steven,
Both:
x123.TrendLines.Item(1).Delete
and
x123.TrendLines(1).Delete

removes it for me.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform