Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Graph object is bugging me
Message
From
11/05/1998 03:41:45
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00098433
Message ID:
00098436
Views:
30
>hi all,
>
>I am experiencing a problem with a msgraph 5 object contained in table. I created a graph and put it in a general field. This way, i can visually modify it without having to write code that sets up the graph at runtime. This is a tip I found in Foxpro Advisor. At runtime , I take the graph from the table and put it into a general field in a cursor. Then I create a string that contains the data I want the graph to display. Then I use append general with the string. Normally doing this sets up the graph object with the new data. This works great,except...sometimes the 'append general' fails, and my report just shows the graph i originally put in the table. It would seem that the object is cached, and not refreshed properly, but i can't find the proper 'clear' parameter (clear resources doesn't help). I posted this one on the compuserve foxpro forum as well, but no luck.
>
>Any hint or sharing of experience with the same problem would be greatly appreciated.
>
>greetings,
>derk schutte
Hi Derk,
Yes it works great but however slow for everytime you change data you have to append general. Instead coding is lightning fast when object is there. Change data via cells method I suggest.
with ThisForm.Oleboundcontrol1.object.application.datasheet
	.cells(nRow,nCol).value = newValue && No need for refresh
endwith
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