SegmentedButton.SegmentCount

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Integer )
IntegerValue = aSegmentedButton.SegmentCount

New in 2019r2

Supported for all project types and targets.

The number of Segments in the SegmentedButton.

Example

This example displays the number of Segments in the SegmentedButton.

MsgBox(SegmentedButton1.SegmentCount.ToString)