SegmentButton Help

In my app, I have a SegmentedButton called SegmentedButton1 and a PagePanel with four pages. When I open the app, I would like it to open to a particular page. I can do this, but SegmentedButton1 does not indicate which button is active. How can I achieve this?

Thanks

Lennox

DesktopSegmentedButton.SelecedSegmentIndex is the simple way, but you can also manage the segments by object. I’ve linked the documentation, use the best method for your needs.

Thanks Tim, I just got it… s.Selected = True

Thanks again. Lennox