View Single Post
  #1  
Old 08-17-2007, 10:47 PM
Relinquish Relinquish is offline
Banned
Join Date: Aug 2007
Posts: 7
Relinquish is on a distinguished road
findgui() function

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 (@guinamedrawstuff();
(@
guiname).drawstuff();
guiname.drawstuff(); 
Am I missing anything?
Reply With Quote