Bug #128316, was updated on 2001-Jan-10 11:02
Here is a current snapshot of the bug.

Project: DynAPI 2
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: Changing the image on a Button does not work

Details: I found that dynamically changing the image associated with a
Button (dynapi.gui.button.js) after the button has been created does not
work.

I think the problem is in Button.prototype.setImage. The last line is

else this.imglyr.doc.images[0].src - this.img.src;

I think this should be changed to

else this.imglyr.setImage(this.img);

That is, pass the job of changing the image on to the DynImage object.

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128316&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-dev

Reply via email to