How to change highlight of that selected using WebSegmentedControl

Hello all,
How do I change the highlighted segment of the WebSegmentedControl when a user clicks on it?
I’ve tried
SegControl.Selected = True
and
SegControl(0).Selected = True

Both throw an error.

The help is a bit murky on this one too…
Any advice/direction would be appreciated!

Thanks,
Tim

Have you tried ListIndex?

The control should be doing this for you though. Make sure SelectionTupe isn’t set to None.

Hi Greg.
None of the segments is ever highlighted. Do I have anything configured incorrectly?

Thanks,
Tim

Is it Enabled?

[quote=368240:@Tim Seyfarth]Hi Greg.
None of the segments is ever highlighted. Do I have anything configured incorrectly?

Thanks,
Tim[/quote]
What is SelectionType set to?

Selection type was set to single. I tied multiple but no change. There are 7 segments.

Tim

Does the Action event trigger properly?

It appears to. Code within the Action event runs.

Tim

Do you have the same style set for normal and selected?

I tried both the same, and different with the selected style having a highlight. This kind of works, but it leaves, the highlighted sections highlighted, until you click them again.
Tim

Sounds like you have the selection type set to multiple.

Hi Wayne,
I tried single first, then multiple. But I’ll recheck to be sure.

Tim

i just checked, and yes it was set to muiltiple. I retried with selection type single and selectedstyle having a highlight - this does work as expected.

Thanks everyone!
Tim