Ciao
Vorrei stampare il contenuto di un form ne quale viene visualizzata una gridview
Come posso fare?
Grazie
...
Ad esempio Form1.Grab() restituisce una Picture del Form1. Ovviamente puoi usarlo anche sui singoli oggetti.
...
Dim a as picture
a=Fmain.Grab()
my_pic AS NEW Picture
my_pic = Fmain.Grab()
my_pic.Save(User.Home &/ "my_pic" & ".jpg", 100)Control.Grab (gb.qt4)
SUB Grab ( )
Grab the keyboard and the mouse so that all keyboard and mouse events are received by the control.
Pressing the ESC key automatically aborts the grab.
:danger: In Gambas 2, that metodo does something else: it tries to take a screenshot of the control.