Websegmentedbutton at runtime (Add / Remove websegments and refresh item)

I want to create a Websegmentedcontrol at runtime.

I have a loop and i want to add those segments to the control

while

Dim Options As New WebSegment( rAs.ColumnAt(0).Value.StringValue,false,nil)
SegmentedButton1.SegmentAt(position) = Options

wend

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?

Unfortunately, if I remember correctly this cannot be done. No WebSegment button/WebTabPanel can be modified runtime in 2.0.