# GraffitiTabPanel
Class Inherits GraffitiWebUIControl
## About
A customizable and powerful TabPanel replacement control.
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| ItemClosed | item as GraffitiTabPanelItem | (None) | Raised when the user has closed a tab using its close button. |
| Open | (None) | (None) | |
| Resizing | newWidth as Integer <br> newHeight as Integer | (None) | Will fire at most every 250ms when the size of the control is changed. |
| SelectionChanged | selectedItem as GraffitiTabPanelItem | (None) | Raised when the user has selected a different tab. |
| Shown | (None) | (None) | |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| AddItem | item as GraffitiTabPanelItem | (None) | Adds the specified tab to the display. |
| IndexOf | item as GraffitiTabPanelItem | Integer | Returns the index of the specified tab. |
| InsertItem | atIndex as Integer <br> item as GraffitiTabPanelItem | (None) | Inserts the specified tab at the provided atIndex. |
| Item | index as Integer | GraffitiTabPanelItem | Returns the tab class instance at the specified index. |
| LastIndex | (None) | Integer | Returns the index of the last tab currently displayed. |
| Lookup | name as String | GraffitiTabPanelItem | Searches all GraffitiTabPanelItems by their Name property. Returns Nil for nonexistent names. |
| RemoveAll | (None) | (None) | Removes all tabs. |
| RemoveItem | item as GraffitiTabPanelItem | (None) | Removes the item at the specified index. |
| RemoveItem | index as Integer | (None) | Removes the item at the specified index. |
| SelectedItem | (None) | GraffitiTabPanelItem | Returns the currently selected tab. |
| Attributes | Hidden = True | UpdateProperty | |
| Attributes | Hidden = True | UpdatePropertyMultiple | |