I have done enough reading and still can’t sort this out.
All my code is working fine except that I would like to be able to show that the button was pressed (ie. highlighted) even though it wasn’t actually pressed physically but other parts of the code dictate that it should LOOK like it was pressed.
This is the code in the Action Event of another button that “should” set the state. (btnExtentsOrScale) refers to the Segmented Control.
btnExtentsOrScale.Enabled=true
btnExtentsOrScale.itemIndex=0 // should the set visual state?
The control and resulting code is working as expected, but it does not “look” like it, until a button is actually pressed.
[EDIT] I think I just repeated myself