Thanks Neil. I am continuing to investigate. Now I need to read up on the bug tracking and review process to figure out if this is a bug or a feature. And if it is a bug I guess I can try and fix it.

Again thanks  P T and Neil for your responses.

Daniel.

Neil Mix wrote:

I think I've been bitten by this. If I remember correctly, the inputtext uses an internal textfield which does the work of processing mouse events. By adding a mouse event handler at the inputtext, it prevents the events from getting to the internal field.

On Jan 12, 2006, at 9:17 AM, P T Withington wrote:

This seems like a bug to me, from my understanding of the contract of event handlers (they do not override, they accumulate). But I have not had a chance to look into it.

On 12 Jan 2006, at 12:03, Daniel Pool wrote:

I apologize for the repost but I asked this yesterday and I think the subject line wasn't clear.

In the following code the event handler for the onmousedown event does nothing. But adding the handler causes the text field to handle mouse down events incorrectly. I am still trying to understand if this is a bug or if I am missing something about event handlers.

<?xml version="1.0" encoding="UTF-8" ?>
<canvas>

<inputtext name="theField" text="This is the text for the field.">

<method event="onmousedown">
</method>

</inputtext>
</canvas>


Thanks,
Daniel.
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user


_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user



_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to