Hi,
While trying to convert some widgets to 2.5 I'm getting the following error message often:
 
DynObject.all.WidgetName0 is null or not an object.
 
This happens if you try to reference the widget itself, for instance in the precreate eventlistener you do:
 
o.setHTML('<a href="#" >try me</a>')
 
I also tried using toString() but it doesn't help:
 
o.setHTML('<a href="#" >try me</a>')
 
And if I do it like this:
 
o.setHTML('<a href="#" >try me</a>')
 
The expression seems to be evaluated at creation, and the move takes place without clicking the link.
 
I'm having this problem in Pascal's LayerX and LayerY widgets amongst others.
 
Does anyone know what's going on?
 
Cheers,
Richard Bennett
 
[EMAIL PROTECTED]
www.richardinfo.com
(Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2)
visit the DynAPI homepage (and FAQ) ::
http://dynapi.sourceforge.net/dynapi/index.php?menu=1
Browse (and search) the mailinglist here:
http://www.mail-archive.com/index.php3?hunt=dynapi
 
 

Reply via email to