Sorry, can you help me? how i can do that my tx_bar have the focus when application will be init? Devis
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" themeColor="haloSilver" backgroundColor="#FFFFFF" xmlns="*" initialize="initShop();"> <mx:Script> function initShop():Void { tx_bar.setFocus(); } </mx:Script> <mx:HBox width="100%" height="100%"> <mx:VBox width="30%" height="100%" id="barcode"> <mx:Panel title="Barcode" width="100%" height="10%"> <mx:Label text="Barcode"/> <mx:TextInput id="tx_bar"/> </mx:Panel> <Resi/> <Abbuoni /> </mx:VBox> <mx:VBox width="100%" height="100%"> <mx:Panel title="Status Registratore" width="100%" height="25%" click="initShop()"/> <Dettaglio/> <Carrello/> </mx:VBox> </mx:HBox> </mx:Application> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/