WebSegmentedControl.Segment
From Xojo Documentation
Method
WebSegmentedControl.Segment(Index as Integer, Assigns Value as String)
New in 2010r4
Supported for all project types and targets.
New in 2010r4
Supported for all project types and targets.
Sets the Text property of the passed segment. Index is zero-based.
Method
WebSegmentedControl.Segment(Index as Integer, Assigns image as Picture)
New in 2010r4
Supported for all project types and targets.
New in 2010r4
Supported for all project types and targets.
Sets the Icon property of the passed segment. Index is zero-based.
Notes
To get the Caption text, use the Caption method.
Sample Code
This code sets the Text displayed in the first button:
Me.Segment(0) = "One"
This code sets the picture bullet_red (which has been added to the project) for the first segment:
Me.Segment(0) = bullet_red