[Laszlo-user] sendEvent

Shishir Ramam sramam at gmail.com
Tue Jan 8 09:16:51 PST 2008


I'm trying to use an inputtext element to capture some user text.
as a convenience, I'm sending it a onfocus.sendEvent() once the inputtext
element
is instantiated.

However, I am seeing strange behaviour in that when I click outside the
range of the
inputtext box, a onblur event is not generated.

This only happens the first time.

When a mouse is used to generate an onfocus event, the blur event is
properly generated.

This is infact borne out by commenting line #22 in the attached sample.

I'm using Laszlo 4.0.7 SDK + Vista + swf7.

Wonder if I'm missing something or it is a bug. Would appreciate ideas on a
workaround.

Any help is appreciated.

thanks,
-shishir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080108/bea00887/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inputtext2.lzx
Type: application/octet-stream
Size: 932 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080108/bea00887/inputtext2.obj


More information about the Laszlo-user mailing list