[Gambas-user] Gambas2 Grab in Gambas3
Richard Welch
richardpa608 at ...626...
Tue Nov 8 12:52:35 CET 2016
I need a simple way to copy the current image in a visible DrawingArea
to a hidden PictureBox.
The project was written in Gambas2, where a simple Grab method did the
trick, but in G3 this does something different so the converted code
does not function fully.
FMain.pbxPicture.W = FMain.drwRep.W
FMain.pbxPicture.H = FMain.drwRep.H
FMain.pbxPicture.Background = FMain.drwRep.Background
FMain.pbxPicture.Picture = FMain.drwRep.Grab()
With what do I replace the Grab method?
(The DrawingArea is painted in many different pieces of code, depending
on context, so I want to make the change which will have the smallest
impact possible on the source code)
There is a gambas-user thread started around 19 April 2012.
Is this fully relevant?
Is this the /simplest/ answer?
It would need some very tedious testing in my context.....
More information about the User
mailing list