> > It seems picture of PictureBox doesn't like to be drew on. Not sure why,
>
> The Picture property is NULL by default: it just owns a reference to a
> Picture object you must create by yourself!
>

I noticed that and it wasn't the problem. This was the code I tried:

PictureBox1.Picture = New Picture(DrawingArea1.Width, DrawingArea1.Height)
Draw.Begin(PictureBox1.Picture)

The problems was apparent memory corruption, ie the picture was a mess (or
it became a mess when window was moved). See attachment.


Jussi

Attachment: Barcode_mangled-3.5.90.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to