Olá tenho a seguinte situação:
//Pagina …/Login.lzx
<?xml version=“1.0” encoding=“UTF-8” ?>
<canvas proxied=“true” title = “Teste” debug=“true”>
<include href=“components/ui/loginSigga.lzx”/>
</canvas>
//Este código fonte esta no subdiretorio …components/ui/loginSigga.lzx
<library>
<class name="loginSigga" extends="view">
<dashWindow
winLabel="${parent.title}"
id="login"
name="login"
width="350" height="40"
visible="true"
windowTintColor="'ffffff'" showRestore="false">
<tabslider id="tablogin" name="tablogin" width="100" height="50" mintabheight="20">
<tabelement id="tabEntrar" name="tabEntrar" text="Entrar" selected="true" text_x="20">
<view bgcolor="0x778899" placement="header" width="10" height="12" x="5" y="5" />
<gradientviewSigga id="entrarBody" name="entrarBody" colorFrom="0x778899" colorTo="0xf8f8ff"
width="100" height="50">
<text font="helmetb" fontsize="16" x="40" y="35" text="Usuario"/>
<edittext id="txtuser" font="helmetb" fontsize="16" x="120" y="35" width="180"/>
<text font="helmetb" fontsize="16" x="40" y="70" text="Senha"/>
<edittext id="txtpwd" font="helmetb" fontsize="16" x="120" y="70" width="180"/>
<button x="150" y="130" onclick="classroot.loginclick()" text="Entrar"/>
</gradientviewSigga>
</tabelement>
</tabslider>
</dashWindow>
</class>
</library>
A questão é como eu faço o editText id=“txtuser” receber o focus quando a página Login.lzx é aberta?
Obrigado.