[Gambas-user] Paint an image
ukimiku
mkuyumcu at ...3233...
Sun Nov 24 15:21:59 CET 2013
Hi Fabien,
thank you for your prompt reply. I must be missing something, I guess. It
still does not display the image.
In the Form_open event, I set
fr.cached = false
I see the effect when I drag the window with the mouse. It is slow and a bit
jerky as, I guess, the redrawing is taking place quite often.
Still, the image does not appear. I have checked that the pixel values
contain reasonable color components, but not a single pixel of "img" is
being painted.
So far, my dr.Draw() event reads like this:
Public Sub fr_Draw()
Paint.Begin(fr)
fr.Background = Color.RGB(100, 140, 180)
Paint.Image(img, 0, 0)
paint.End
End
What am I missing? Is "Paint.Image" the right command?
Thank you.
Regards,
ukimiku
--
View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44345.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list