Re: I need a short example of $object->block() & $object->unblock()...

From: Date: Wed, 18 Jul 2001 15:00:54 +0000
Subject: Re: I need a short example of $object->block() & $object->unblock()...
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2264@lists.php.net to get a copy of this message
On Tue, 17 Jul 2001, Mauro Ferreira wrote: > OOps... disconsider the last... the right is: > > I tryed this: > > 55| $this->selRow = > $this->clist->connect('select_row',array($this,'rowSelected')); > 56| $this->selCol = > $this->clist->connect('click_column',array($this,'columnClicked')); > > /* some code */ > > 78| $this->clist->disconnect($this->selCol); > 79| $this->clist->disconnect($this->selRow); > > and give this: > > PHP Warning: disconnect() expects argument 1 to be integer, null given in > C:\www\phpgtk\projects\core\results\generated.phpg on line 78 > PHP Warning: disconnect() expects argument 1 to be integer, null given in > C:\www\phpgtk\projects\core\results\generated.phpg on line 79 > > What i did wrong ? All this are inside the same class... I am not sure. Do a var_dump() on $this->selRow and $this->selCol in a few places and see what their values are. They should be integers. -Andrei 'Any given program, when running correctly, is obsolete.' - First Law of Computer Programming

« previous php.gtk (#2264) next »