Re: [Gambas-user] Using an Image in a PictureBox or help with my issue

2008-11-29 Thread Benoit Minisini
On samedi 29 novembre 2008, John Harrold wrote: > I'm no Gambas expert but as far as I understand you can't reference the > image that way. > > you would need to do: > > DIM myImg as Image > myImg=PicBox.Picture.Image > > Even then I think it will make a copy of the image and not be an alias. If >

Re: [Gambas-user] Creating a Gambas component

2008-11-29 Thread dfuchs
Thank you for your help and the interest you showed, As Benoit has suggested, any further discussions should take place in the developers' mailing list. But because Richard Terry has asked me: There will be a short tutorial on how to program graphical controls in Gambas, as far as I am a judge, in

Re: [Gambas-user] Using an Image in a PictureBox or help with my issue

2008-11-29 Thread John Harrold
I'm no Gambas expert but as far as I understand you can't reference the image that way. you would need to do: DIM myImg as Image myImg=PicBox.Picture.Image Even then I think it will make a copy of the image and not be an alias. If you make changes to myImg to have them reflected in the original