Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:tabpanel [2019/11/16 04:05]
agcyphers [Examples]
web:tabpanel [2021/01/13 00:14] (current)
agcyphers [Properties]
Line 23: Line 23:
 | RemoveItem( ItemIndex as Integer ) | Removes an item from the TabPanel using the given parameters for comparison. | | RemoveItem( ItemIndex as Integer ) | Removes an item from the TabPanel using the given parameters for comparison. |
 | RemoveItem( ItemText as String ) | ::: | | RemoveItem( ItemText as String ) | ::: |
-| SelectItem( ItemIndex as Integer ) | Selects the tab at the specified index. | 
  
 ==== Properties ==== ==== Properties ====
Line 29: Line 28:
 | Items() | GraffitiWebTabPanelItem | Nil | The array of items in the display. | | Items() | GraffitiWebTabPanelItem | Nil | The array of items in the display. |
 | LockUpdate | Boolean | False | When True, execution of scripts to update the display is deferred until LockUpdate = True. | | LockUpdate | Boolean | False | When True, execution of scripts to update the display is deferred until LockUpdate = True. |
-| Value | Integer | GraffitiWebTabPanelItem | The currently selected tab. |+| Value | GraffitiWebTabPanelItem | Nil | The currently selected tab. |
 ==== Examples ==== ==== Examples ====
 === Selecting a Tab by Index === === Selecting a Tab by Index ===
 To select a tab by index you must first get the TabPanelItem that you wish to select. This is done by using the ''Item(Index as Integer) as GraffitiWebTabPanelItem'' method: To select a tab by index you must first get the TabPanelItem that you wish to select. This is done by using the ''Item(Index as Integer) as GraffitiWebTabPanelItem'' method:
 <code xojo>panelInstance.Value = panelInstance.Item(0)</code> <code xojo>panelInstance.Value = panelInstance.Item(0)</code>