View Single Post
  #3  
Old 10-05-2006, 02:43 PM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
[QUOTE=Chompy;1226271]well inside
PHP Code:
with( ( @ this.windowname ) )
    { 
you are using an variable that I can't see you have setted
thiso.alines, I only see this.alines, well, thats only for the height
and for ----v
PHP Code:
( @ this.windowname ) = new GuiWindowCtrl(); 
you could just use
PHP Code:
this.windowname = new GuiWindowCtrl(); 


and:
PHP Code:
this.awindow _createWindowthis.amsg.size() );
echo(
"l2: " this.awindow.text); 
why do this.awindow.text after?
this.awindow is just "AdminMsg_Window_0"
like text, not like an object
Quote:
and correct me if I am wrong
k i will

first
Quote:
PHP Code:
with( ( @ this.windowname ) )
    { 
you are using an variable that I can't see you have setted
thiso.alines, I only see this.alines, well, thats only for the height
if you would use this.alines within a with it would refer to the object thats it in now, that would be e.g. AdminMsg_Window_0.alines
but thiso is for global access afaik you can use thiso.alines after you have set this.alines

Quote:
PHP Code:
( @ this.windowname ) = new GuiWindowCtrl(); 
you could just use
PHP Code:
this.windowname = new GuiWindowCtrl(); 
this would set this.windowname to the newly created GuiWindowCtrl
but e.g.
this.windowname = "bleh";
this.( @ windowname ) = new GuiWindowCtrl();
wouldt set the variable this.bleh to a new GuiWindowCtrl

:P well i fixed some things and now it works lol
Reply With Quote