Difference between revisions of "iOSSegmentedControlItem.Constructor(title As Text = "")"

From Xojo Documentation

(Created page with "{{ConstructorBox | name=Constructor | owner=iOSSegmentedControlItem | ownertype=class | scope=public | parameters=title As Text = "" }} {{Description | text = Creates an i...")
 
m
 
Line 4: Line 4:
 
| ownertype=class
 
| ownertype=class
 
| scope=public
 
| scope=public
| parameters=title As Text = ""
+
| parameters=title As [[Text]] = ""
 
}}
 
}}
 
{{Description | text = Creates an item using the optional title.}}
 
{{Description | text = Creates an item using the optional title.}}

Latest revision as of 19:57, 21 August 2018

Constructor

iOSSegmentedControlItem.Constructor(title As Text = "")

Creates an item using the optional title.

Sample Code

In the Open event handler of an iOSSegmentedControl, adds a segment with a title:

Me.Add(New iOSSegmentedControlItem("Moon"))