That worked; thanks!
-Peter
On 9/16/05, bhaq1972 <[EMAIL PROTECTED]> wrote:
> Hi Peter,
>
> > <mx:Button label="Edit bar" click="EmployeeTrace.focusedCell =
> > EmployeeTrace.getTreeNodeAt(1)"/>
>
> i dont think its a bug. i tried the following
>
> click="EmpolyeeTrace.focusedCell = undefined"
>
> and that also focuses on the first node.
>
> the 'focusedCell' property requires a co-ordinate whereas getTreeNodeAt
> () returns an object.
>
> if you do
> click="EmpolyeeTrace.focusedCell = {itemIndex:1}", you'll get focus.
>
> regards
> bod (bhaq1972)
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
> SPONSORED LINKS
> Web site design development
> Software design and development
> Macromedia flex
> Software development best practice
>
>
> ________________________________
YAHOO! GROUPS LINKS
>
>
> Visit your group "flexcoders" on the web.
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
> ________________________________
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
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/