On 10/09/2014 07:32 PM, Benoît Minisini wrote: > Le 10/10/2014 00:04, T Lee Davidson a écrit : >> If a form's ValueBox.value is modified, subsequent Paint'ing on a cached >> DrawingArea of the form doesn't produce the draw when the gb.qt4 >> component is loaded. It does work if, instead, the gb.gtk component is >> manually selected in the project. Trying to set the focus back to the >> DrawingArea, "DrawingArea1.SetFocus", after modifying the ValueBox.value >> did not help. >> >> I have attached an archive of a sample project that shows this. >> >> Also, the sample project contains two methods to clear the DrawingArea, >> because what works for GTK does not work for QT. >> >> Is this a bug, or am I doing something wrong? >> >> >> Thanks for any help, >> Lee >> >> > > I saw no problem in the drawing, whatever the GUI component (gb.qt4, > gb.gtk or gb.gtk3). But I saw that there are bugs in DrawingArea.Clear() > in all components! > > Regards, >
Well that's a little disappointing that you weren't able to replicate the issue on your system. On mine, the red line is drawn and then when it comes time for the blue line to be drawn, the red line disappears as if the DrawingArea has been cleared. It's a mystery to me. But, thank you for looking into it. Lee ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
