WebSegment.Constructor(Title As String, Selected As Boolean = False, Icon As WebPicture = Nil)

From Xojo Documentation

Method

Constructor(Title As String, Selected As Boolean = False, Icon As WebPicture = Nil)

New in 2020r1

Supported for all project types and targets.

Creates a WebSegment with the values passed.

See Also

WebSegmentedButton