Hello,
I was adding mouse control to my latest game project and using the grab command to ensure that the player does not accidentally minimize the window when the mouse is not over it. This works well, however I need to know a way to get it to release the focus when the player is killed. The Gambas Wiki only mentions that the grab is ended when the user presses the esc key. Is there anyway to force this release in code?
https://gambaswiki.org/wiki/comp/gb.qt4/control/grab
Release focus from control
- Technopeasant
- Posts: 151
- Joined: Saturday 13th July 2019 6:50pm
- Location: Stony Plain, Alberta, Canada
- Contact: