[Laszlo-dev] edittext tabbing

Max Carlson max at openlaszlo.org
Thu Nov 30 14:20:38 PST 2006


Philip Romanik wrote:
> Hi Max,
> 
> I'm tracking down a problem with tabbing. If you run this simple app
> (in dhtml) you will see the problem:
> 
> <canvas bgcolor="gray">
>  <simplelayout spacing="5"/>
>  <edittext name="t1" width="175" />
>  <edittext name="t2" width="175" />
> </canvas>
> 
> The first time I tab from one edittext to the other, the control can
> be directly edited. If you keep hitting the tab key, you have to
> scroll through all the selectable items in the browser(problem #1).
 > Eventually it comes back to the edittext control and then the tab
 > alternates between the two controls.

This is likely a problem with the dhtml kernel not grabbing all tab keys.

> The second problem (problem #2)
> is that you can't type directly into the control. You have to click in
> the field to give focus.

This is also likely a problem with the kernel - perhaps inputtexts don't 
select when focused with something other than the mouse?

> Do you think this is an issue with the sprite, or the component?

See if you can make a simpler testcase using only inputtexts.  Please 
file bugs for these problems!

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list