PDA

View Full Version : Edittext editting problem


thriputapriya
04-28-2006, 08:02 PM
Hello,
This below code is not working properly,why this is not allowed to enter the text inside the edittext box.Please rectify this code.
<canvas>
<edittext width="100" height="50" enabled="true" >
<attribute name="beforetxt" when="once"/>
<method event="onkeyup">
Debug.write("Edit"+this.beforetxt);
if(this.getValue()!=this.beforetxt)
this.setBGColor(ltgreen)
</method>
</edittext>
</canvas>

Thanks in advance,

tudor_19
05-02-2006, 06:27 AM
remove the height attribute