From Xojo Documentation

Revision as of 19:08, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated|" to "{{DeprecatedItem|")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

SegmentedControl.Action(itemIndex As Integer)

New in 2010r4

Supported for all project types and targets.

One of the buttons was clicked or otherwise activated.


Test the itemIndex to determine which segment was clicked:

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