thanks, i think i understand it a lot better now. So last things i can think of to ask is, I've seen code with the same format. but they looked different. does it act the same? being a blank object and everything? And could I actually use this to say.. pass a GUI through a function? (just brainstorming possibilities)
I was looking for another sample, but i'll just post the one that i do have:
PHP Code:
function onCreated(){
temp.panel = new TDrawingPanel();
//more temp.panel stuff
}
the second one i remember was completely different. same format but customized name.
thanks