RE: [flexcoders] when is setFocus() not?

2007-05-01 Thread Alex Harui
selectionBeginIndex = selectionEndIndex = 0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of barry.beattie Sent: Tuesday, May 01, 2007 10:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] when is setFocus() not? 1) Q: have I

Re: [flexcoders] when is setFocus() not?

2007-05-01 Thread Manish Jethani
That is in the focusIn handler. mx:TextInput id=ti focusIn=removeSelection() / mx:Script private function removeSelection():void { ti.selectionBeginIndex = 0; ti.selectionEndIndex = 0; } /mx:Script On 5/1/07, Alex Harui [EMAIL PROTECTED] wrote: