SegmentedControl.Action

From Xojo Documentation

Event


SegmentedControl.Action(itemIndex As Integer)

New in 2010r4

Supported for all project types and targets.

One of the buttons was clicked or otherwise activated.

Notes

Test the itemIndex to determine which segment was clicked:

If itemIndex = 0 Then
// Do something
Else
// Do something
End If