Re: Styling the selected Tab's label in TabView
- To: mathgroup at smc.vnet.net
- Subject: [mg98271] Re: Styling the selected Tab's label in TabView
- From: Albert Retey <awnl at gmx-topmail.de>
- Date: Sun, 5 Apr 2009 06:32:40 -0400 (EDT)
- References: <gr4jlk$abk$1@smc.vnet.net>
Hi, > It seems that you can't set the LabelStyle of individual tabs in a TabView. What is wrong with: labels = {"Bill", "Susan"}; DynamicModule[{selected}, TabView[Table[ With[{i = i}, Style[labels[[i]], FontWeight -> Dynamic[If[i === selected, Bold, Plain]]] -> ("Hello " <> labels[[i]] <> "!")], {i, Length[labels]}], Dynamic[selected]]] Which version are you using? hth, albert