Hey,
Tried that, the Tab doesn’t
get selected still unfortunately.
Crazy thing is, using an alert, I can
output what the selectedIndex is of the Tab, and it’s outputting the
right index! But none of the buttons are selected!
So the selectedIndex is
being set, I can view what it’s set to, it just won’t select a
button.
Ah!
-----Original Message-----
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of bhaq1972
Sent: 26 October 2005 10:23
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Stupid
Question, but driving me mad - TabBars
stupid answer(maybe) - why
dont you set the selectedIndex in the
resultHandler of your webservice call (the one
which gets the
dataprovider for your tabbar)
--- In flexcoders@yahoogroups.com, "Steve
Cox" <[EMAIL PROTECTED]> wrote:
>
> Guys + Girls,
>
> I've a tabbar on 3 separate forms inside a
Tab Nav.
>
> Now the dataprovider for these is populated
from a webservice, the
issue
> I'm having is setting the selectedIndex on
the tabbars initially.
Once
> the tabbar is created, the selectedindex
works perfect.
>
> Setting the selectedindex in a
creationcomplete event doesn't
work, is
> there an event which is fired to notify when
a tabbar has built up
it's
> buttons? I've tried childrenCreated but I
suspect that's for when
it's
> attached to a viewstate etc.
>
> Stupid problem I know, but it's always the
little ones that cause
the
> most problems!
>
>
> Cheers,
>
> Steve
>
--
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
YAHOO! GROUPS LINKS