You could create you own control by placing BevelButtons next to each other. They have the Icon you want. You will have to do some coding for that to behave like a segmentedControl with the sticky buttons, but all is possible with pictures and an array of booleans.
The other way is to create your own control with a canvas.
[quote=382811:@Michel Bujardet]What you want does not exist in that control.
You could create you own control by placing BevelButtons next to each other. They have the Icon you want. You will have to do some coding for that to behave like a segmentedControl with the sticky buttons, but all is possible with pictures and an array of booleans.
The other way is to create your own control with a canvas.[/quote]
While I am at it, how do I set the focus of a segmented control programmatically? Say there are three buttons and I want the second button selectedsuch as popupmenu.listindex = 5.
If you use MBS Plugin, you could get the NSSegmentedControlMBS object for your control and use the NSSegmentedControlMBS.imageForSegment method to set the icon for each segment.
[quote=383313:@Sascha S]Dim s As SegmentedControlItem = SegmentedControl.Items(1) // Index starts at 0, so 1 is 2nd Item
s.Selected = True[/quote]
Thank you for the reply. While that does change which button is selected, it causes the icons I use in each segment to act oddly, almost like a ghostly image. Also, while it somewhat selects the button, it does not trigger the code inside like if I was programmatically changing a listbox.