I want to create a Websegmentedcontrol at runtime.
I have a loop and i want to add those segments to the control
Dim Options As New WebSegment( rAs.ColumnAt(0).Value.StringValue,false,nil)
SegmentedButton1.SegmentAt(position) = Options
The problem is that the object can’t be refreshed with the websegments, it only show the segments defined initially in the object on the designer.
Can someone help me?