[Laszlo-user] <edittext> not getting mouse events?

Robin robin at kallisti.net.nz
Mon Apr 10 03:34:56 EDT 2006


Hi, I have this:
<edittext name="description" multiline="true" width="${parent.width}"
	text="Enter a description here" resizable="true" options='releasetolayout'
	onmousedown="clear()">
	<method name="clear"><![CDATA[
		Debug.write("here");
		if (!this.alreadyCleared)
			this.clearText();
		this.alreadyCleared = true;
	]]></method>
</edittext>

I would expect that as soon as you click on the text box, my method 'clear()'
would get called, however this doesn't happen. Why is this, and what can I do
about it?

Thanks, Robin.


More information about the Laszlo-user mailing list