If you want to give focus to a Component, Then use callLater
Keep Set Focus Logic inside a Function
/**
>
* To set the focus back to the component
>
*/
>
private function setFocusText():void {
>
yourComponent.setFocus() ;
>
}
>
Then, Invoke this function with callLater as follows ..
callLater(setFocusText);
>
Warm Regards,
Sathish Kumar T
On Fri, Oct 17, 2008 at 1:34 PM, VJ <[EMAIL PROTECTED]> wrote:
>
> I am facing issue in holding focus on different UI control while
> moving focus using tab, to traverse through all components. I have all
> these component in a ArrayCollection, ,and implemented a customized
> "Keyboard" accessibility funtion, where this ArrayCollection is used.
>
> Note – But same issue works fine if I add alert in that customized
> accessibility function, so application gets user interaction then it
> easily holds the focus on desired component.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---