Re: [Gambas-user] QPainter in GAMBAS3 ...error #11

2011-05-31 Thread BenoƮt Minisini
> Just moving Draw.Begin into Public Sub Form_Open() > > > Public Sub Form_Open() > Draw.Begin(DrawingArea1) > Me.Text = "DBLog Scale" > --- > > > I get Error #11 please inform Benoit ;-) > > Pino > I need a little proje

[Gambas-user] QPainter in GAMBAS3 ...error #11

2011-05-31 Thread Pino Zollo
Just moving Draw.Begin into Public Sub Form_Open() Public Sub Form_Open() Draw.Begin(DrawingArea1) Me.Text = "DBLog Scale" --- I get Error #11 please inform Benoit ;-) Pino

[Gambas-user] QPainter in GAMBAS3

2011-05-31 Thread Pino Zollo
> i think you call paint.begin in a _draw event, no ? No, ...Draw.begin please see the all class source. Sub Disegna() is called continuously...how would be a better way ? Shall I put Draw.Begin only once at the opening of the window ? Thanks Pino 2011/5/30 Pino Zollo : > > Hi > > This me

Re: [Gambas-user] QPainter in GAMBAS3

2011-05-31 Thread Fabien Bodard
i think you call paint.begin in a _draw event, no ? 2011/5/30 Pino Zollo : > Hi > This message is a bit obscure for me. please help ! > > It appears in the Console. > > "QPainter::begin: A paint device can only be painted by one painter at a > time. > QPainter::end: Painter not active, aborte

[Gambas-user] QPainter in GAMBAS3

2011-05-30 Thread Pino Zollo
Hi This message is a bit obscure for me. please help ! It appears in the Console. "QPainter::begin: A paint device can only be painted by one painter at a time. QPainter::end: Painter not active, aborted" Actually I can not determine which statement and which class exactly generates it Tha