Generally Laszlo is very very very Firefox-friendly. It is definitely  
one of our supported browsers; I will even say, unofficially, that it  
is our favorite browser.

On Jul 3, 2006, at 6:46 AM, Manik Prabhu wrote:

>
>  in oninit( ) method of sample.lzx, i  wrote the following code  
> like this
>            <method event="oninit">
>
>                 LzTimer.resetTimer(new LzDelegate(this,  
> 'setInitialfocus'), 500);
>
>             </method>
>
>            <method name="setInitialfocus">
>
>                LzFocus.setFocus(name1Txt);
>
>             </method>
>
>             <view id="mainview>
>
>                 <edittext id="name1Txt"/>
>
>                 .......
>
>
>
>             </view>

Put the oninit method on the canvas, and, just for fun, try extending  
the timeout from 500 ms to something insane like 5000 ms. Two  
reasons: one, you want to set the focus when the canvas is done  
initializing because that's when your app is ready to be used; two,  
if there are timing issues, an excessively large initial timeout will  
reveal it.

Also put in some Debug.write's so you can see what order things are  
happening in.

benjamin shine
software engineer
[EMAIL PROTECTED]



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

Reply via email to