Hi Jussi,
Draw.Begin(PictureBox1) - Not a printable object
Draw.Begin(PictureBox1.Picture) - Null Object
Any idea?
Thanks for reply.
--
View this message in context:
http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47874.html
Sent from the gambas-user mailing
It seems picture of PictureBox doesn't like to be drew on. Not sure why,
but we have DrawingArea for that purpose... Anyway, here is proper way
(this didn't work?):
Dim tmp As New Picture(DrawingArea1.Width, DrawingArea1.Height)
If Not bPrinter Then
Draw.Begin(tmp)
Draw.Clear
Le 28/08/2014 13:55, Jussi Lahtinen a écrit :
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!
--
Benoît Minisini
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
Because you must to set explicitelly the background color.
Picture =new picture(w,h,gb.transparent)
Le 28 août 2014 16:40, Jussi Lahtinen jussi.lahti...@gmail.com a écrit :
It seems picture of PictureBox doesn't like to be drew on. Not sure
why,
The Picture property is NULL by default:
Because you must to set explicitelly the background color.
Picture =new picture(w,h,gb.transparent)
Ummm... no. There argument is boolean type for mask, and it doesn't change
the issue.
Even if you do it correctly; PictureBox1.Picture.Fill(Color.White) , it
doesn't fix the limitation Benoit
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
executable. From within the program they can be accessed as though they
were in the current directory. Is it possible to access (read only)
those files using a
Le 28/08/2014 21:53, Kevin Fishburne a écrit :
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
executable. From within the program they can be accessed as though they
were in the current directory. Is it possible
On Thu, 28 Aug 2014, Kevin Fishburne wrote:
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
executable. From within the program they can be accessed as though they
were in the current directory. Is it possible
Le 28/08/2014 22:14, Tobias Boege a écrit :
PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific
archive format?
Yes. Why?
--
Benoît Minisini
--
Slashdot TV.
Video for Nerds. Stuff that
On Thu, 28 Aug 2014, Beno?t Minisini wrote:
Le 28/08/2014 22:14, Tobias Boege a ?crit :
PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific
archive format?
Yes. Why?
I thought about a way to unpack the archive. gba3 -x didn't come to my mind.
Before I came up
On 08/28/2014 04:14 PM, Tobias Boege wrote:
On Thu, 28 Aug 2014, Kevin Fishburne wrote:
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
executable. From within the program they can be accessed as though they
were
12 matches
Mail list logo