Question on Canv as

BlitzMax Forums/BlitzMax Programming/Question on Canv as

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

How can I know wich is the active graphic canvas gadget?
I need to make a SetGraphics command in a function, to make some drawings, and then leave everything as it was, so I need to store the 'current' graphics object, before changing it, in order to put it again as the default one. It's very strange that there is a SetGraphics, but there is not a GetGraphics...

Any idea how this can be done?