[Laszlo-user] sendEvent

Shishir Ramam sramam at gmail.com
Tue Jan 8 13:37:03 PST 2008


Thanks Andre!
-shishir



On Jan 8, 2008 1:25 PM, André Bargull <a.bargull at intensis.de> wrote:

> You need to use "LzFocus.setFocus(anyview)" to focus a view.
>
> - André
>
> > 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
>
>


-- 
"One thing I feel most passionately about: love of invention will never
die."
-Karl Benz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20080108/96fdd367/attachment.html


More information about the Laszlo-user mailing list