From: Nicola M. <nic...@ho...> - 2001-01-26 20:13:15
|
check this url http://www.dynamic-core.net/widgetx/examples/core.gui.skincheckbox.htm u can use this widget and and in the setCaption() method u can do: example = new CoreSkinCheckbox(50,150,128,16,'Check me',false,theme) example.onChange=function() { if (this.state) this.setCaption('<font color="green">state=true</font>') else this.setCaption('<font color="red">state=false</font>') } DynAPI.document.addChild(example) example.setVisible(true) see you Y _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |