Marien van Westen schreef: > Hello Koenraad, > > > I'm trying to use plotpanel 0.9 on my arm-linux system. > > > Do you have an example program that shows this behaviour, or does it > happen when you drop a PlotPanel on a form and try to compile it? > Did you test it on the "stable" version of lazarus? > > Kind regards, > Marien van Westen > > The program is very simple : a button and a plotpanel dropped on the form. The form is 320x240. Crosscompiled for GTK2 on arm-linux and copied to the target. When I run it "unmodified" I get : setxmax : 5.31664594843289E-315 [FORMS.PP] ExceptionOccurred Sender=EReadError Exception=Error reading PlotPanel1.XMax: Invalid floating point operation Stack trace: $0004BA74 $0004B178 $000458A8 $0004B250 $000458A8 $00095434 $00095254 $00094324 $0002EF08 $00036320 $00018A10 TApplication.HandleException Error reading PlotPanel1.XMax: Invalid floating point operation Stack trace: $0004BA74 $0004B178 $000458A8 $0004B250 $000458A8 $00095434 $00095254 $00094324 $0002EF08 $00036320 $00018A10 On the display there is a message box saying there was an invalid floating point operation. Both OK and Cancel stop the program. If I force Xmax, Xinterval, Ymax and Yinterval to "sensible" values (the values I need hardcoded e.g. in TPlotPanel.SetXMax : fXmax:=value; fXMax:=300;), it displays fine. But if I put some data in it a strange thing happens : the plotpanel is redrawn partly off screen. But that's the next problem to solve. First I need to know where that 5.31664594843289E-315 comes from.
Regarding trying on stable Lazarus : I had other problems that the svn version solved. See the thread about "GTK2 for arm-linux, more' of aug 7. I'm going to try the latest svn next weekend. Regards, Koenraad Lelong. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives