Any chance of getting a findgui() function? It returns a reference to the GUI control with the name given.
I'd like to have a class that draws on whichever DrawingPanel control I pass it, but as far as I can tell, there's no way to pass a reference to it or get it from the name. Unless I'm doing something wrong.
I've tried
PHP Code:
with (@guiname) drawstuff();
(@guiname).drawstuff();
guiname.drawstuff();
Am I missing anything?