User (Legacy) Posted August 4, 2005 Report Share Posted August 4, 2005 Bonjour, the program I wrote uses a lot of annotations : texts, arrows, lines, etc... But sometimes ChartFX throws an exception and I'm unable to explain it. The method Dessine() draws the annotation group, seems to do everything right, the texts are correct, and all the properties are set according to plan, but something goes wrong somewhere. Here is the text of this exception (half french, half english) : System.ObjectDisposedException: Impossible d'acc Link to comment Share on other sites More sharing options...
Software FX Posted August 5, 2005 Report Share Posted August 5, 2005 I don't know for sure what's causing this problem, it seems that an object that's already disposed is been attempted to be used. A situation that will produce this would be: annotationText.Font = font; font.Dispose(); Can you provide with a sample program that reproduces the error ? -- Francisco Padron www.chartfx.com "Bruno Lety" <bruno.lety@ifp.fr> wrote in message news:72LBPeQmFHA.1412@webserver3.softwarefx.com... > Bonjour, > the program I wrote uses a lot of annotations : texts, arrows, lines, > etc... > But sometimes ChartFX throws an exception and I'm unable to explain it. > The method Dessine() draws the annotation group, seems to do everything > right, > the texts are correct, and all the properties are set according to plan, > but something goes wrong somewhere. > > Here is the text of this exception (half french, half english) : > System.ObjectDisposedException: Impossible d'acc Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.