SegmentedControlItem.HelpTag
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Segment.Tooltip as a replacement. |
Property (As String )
aSegmentedControlItem.HelpTag = newStringValue
or
StringValue = aSegmentedControlItem.HelpTag
New in 2010r4
Supported for all project types and targets.
or
StringValue = aSegmentedControlItem.HelpTag
New in 2010r4
Supported for all project types and targets.
The HelpTag associated with the segment.
Examples
This example sets the HelpTag of the first segment. It is in the Open event of the SegmentedControl.
This example displays the HelpTag when the segmented is clicked. It is in the Action event of the SegmentedControl.
Select Case itemIndex
Case 0
Dim h As SegmentedControlItem = Me.Items(itemIndex)
MsgBox(h.HelpTag)
Case 1
// execute code for this item..
Case 2
// execute code for this item..
Else
MsgBox("some other case happened somehow.")
End Select
Case 0
Dim h As SegmentedControlItem = Me.Items(itemIndex)
MsgBox(h.HelpTag)
Case 1
// execute code for this item..
Case 2
// execute code for this item..
Else
MsgBox("some other case happened somehow.")
End Select