Class

WebSegment


Description

A single segment in a WebSegmentedButton control.

Properties

Name

Type

Read-Only

Shared

Enabled

Boolean

Icon

WebPicture

Selected

Boolean

Title

String

Tooltip

String

Methods

Name

Parameters

Returns

Shared

Constructor

Title As String, Selected As Boolean = False, Icon As WebPicture = Nil

Property descriptions


WebSegment.Enabled

Enabled As Boolean

If True, the segment is enabled.


WebSegment.Icon

Icon As WebPicture

The icon/picture that will be displayed on the segment.


WebSegment.Selected

Selected As Boolean

If True, the segment is selected.


WebSegment.Title

Title As String

The text that will appear in the segment.


WebSegment.Tooltip

Tooltip As String

The tooltip that will display when the user hovers over the segment.

Method descriptions


WebSegment.Constructor

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

Note

Constructors are special methods called when you create an object with the New keyword and pass in the parameters above.

Creates a WebSegment with the values passed.

Compatibility

Web projects on all supported operating systems.

See also

Object parent class; WebSegmentedButton control.