comp • gb.qt4 • control • grab

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.

In Gambas 2, that method does something else: it tries to take a screenshot of the control.