Well... there is two answers.
First :
Use the Desktop.ScreenShot Function
(http://gambaswiki.org/wiki/comp/gb.qt4/desktop/screenshot).
But your widget must be visible on the screen... This is why it is a
SCREEN shot.
Second :
When you are drawing something in a drawingarea you use a generic
Le 08/11/2016 à 14:37, Charlie a écrit :
> When I place a *FileChooser* on a form and then deselect it, I am unable to
> reselect the *FileChooser* with the mouse, I can click on it repeatedly but
> nothing happens. I have to go to *Hierarchy* and select it there. I have
> noticed this also
When I place a *FileChooser* on a form and then deselect it, I am unable to
reselect the *FileChooser* with the mouse, I can click on it repeatedly but
nothing happens. I have to go to *Hierarchy* and select it there. I have
noticed this also happens on my Rapberry Pi 3 with Gambas 3.8.4 but
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 =