Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 Delete multiple chartimages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

xrhstogatsos

5 Posts

Posted - 07 Jan 2010 :  09:31:47  Show Profile  Reply with Quote
I use a function to create multiple chartimages with AddChartObject function. But when i am trying to delete the images using DeleteChartObject(chartImage) only the last image object is deleted. Can you help me on how to locate and delete multiple images?

Chris

quinncurtis

1164 Posts

Posted - 07 Jan 2010 :  09:53:44  Show Profile  Reply with Quote
I would have to guess that your chartImage variable is the same each time you call DeleteChartObject, and once the first time it is deleted, subsequent calls do nothing.

Show the related code where you create the ChartImage, add it to the chart using AddChartObject, and delete it using DeleteChartObject.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07