Bug isn't about the form. Persistent T/F has no effect. The issue is the line does not start at (0,0) in the drawing_area when the area is partly off the screen to the left. The line actually starts at FMain x=0, not Drawing_Area x=0. The FMain x is irrelevant. -F
---------- Original Message ----------- From: Rolf-Werner Eilert <eilert-sprac...@t-online.de> To: gambas-user@lists.sourceforge.net Sent: Fri, 25 Nov 2011 08:08:33 +0100 Subject: Re: [Gambas-user] Bug drawing_area > Am 25.11.2011 07:33, schrieb nando: > > Benoit, > > > > I have a drawing_area and I draw a line from 0,0 to 150,200 > > and I slowly move the drawing area off the left of the screen. > > > > The line does not continue with the drawing area off screen. > > Instead, it stops at the left of FMain and does not continue > > staying at (0,0) of drawing area > > > > _Draw is called from a timer to slide it off the left of the FMain > > > > -Fernando > > > > > > PUBLIC SUB DrawingArea1_Draw() > > > > Draw.Image(hImage2, 100, 100) > > > > DrawingArea1.x = DrawingArea1.x - 1 > > > > Draw.Begin(DrawingArea1) > > Draw.LineWidth = 20 > > Draw.ForeColor = Color.Red > > Draw.Line(0, 0, 200, 150) '<-problem starts when DrawingArea1.x is< 0 > > Draw.End > > > > END > > > > Have you set the DrawingArea or the Form to Persistent = TRUE? That > might help. > > Rolf > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user