Hank,

 

What I have done for this is to set the disabledColor on the linkbar.  The selected view’s link is disabled on the linkbar, and it will be the color you specified for the disabledColor.  If you are looking for something more advanced (I.E. underlined text…), you may have to subclass the link bar and do some voodoo on the updateDisplayList method.

 

Dustin Mercer

 


From: [email protected] [mailto:[email protected]] On Behalf Of hank williams
Sent: Wednesday, November 01, 2006 9:57 AM
To: [email protected]
Subject: [flexcoders] using a linkbar with a viewstack... how can you indicate current selection

 

a linkbar is a recommended way to control a viewstack. But I want to
be able to show the user the currently selected view. I am not clear
whether the linkbar is supposed to allow this. When I try to initially
set the selectedIndex to 0 I get an error indicating that it is out of
range.

I know I could use a tabBar, but I like the simple blocks of text
without the "tabby" look and feel.

So I guess my question is, is it possible to use the linkbar where one
item is, for example, a different color than the others, indicating
that that is the currently selected item?

Hank

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to