From Xojo Documentation

Property (As String )
aSegment.Tooltip = newStringValue
StringValue = aSegment.Tooltip

New in 2019r2

Supported for all project types and targets.

The tooltip associated with the segment.


This example sets the tooltip of the first segment. It is in the Open event of the SegmentedButton.

Var s As Segment = Me.SegmentAt(0)
s.Tooltip = "This is the first segment."

This example displays the tooltip when the segmented is pressed. It is in the Pressed event of the SegmentedButton.

Select Case segmentIndex
Case 0
Var s As Segment = Me.SelectedSegment
Case 1
// execute code for this item..
Case 2
// execute code for this item..
MessageBox("some other case happened somehow.")
End Select