Platforms to show: All Mac Windows Linux Cross-Platform
NSTabViewItemMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa Controls | MBS MacCocoa Plugin | 10.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
An NSTabViewItem is a convenient way for presenting information in multiple pages. A tab view is usually distinguished by a row of tabs that give the visual appearance of folder tabs. When the user clicks a tab, the tab view displays a view page provided by your application. A tab view keeps a zero-based array of NSTabViewItems, one for each tab in the view.
- 11 properties
- property color as NSColorMBS
- property Enabled as Boolean
- property Handle as Integer
- property identifier as Variant
- property image as NSImageMBS
- property initialFirstResponder as NSViewMBS
- property label as string
- property tabState as Integer
- property tabView as NSTabViewMBS
- property toolTip as string
- property view as NSViewMBS
- method Constructor(identifier as Variant)
- 3 constants
Constants
Constant | Value | Description |
---|---|---|
NSBackgroundTab | 1 |
One of the constants describing the current display state of a tab.
A tab that's not being displayed. |
NSPressedTab | 2 |
One of the constants describing the current display state of a tab.
A tab that the user is in the process of clicking. That is, the user has pressed the mouse button while the cursor is over the tab but has not released the mouse button. |
NSSelectedTab | 0 |
One of the constants describing the current display state of a tab.
The tab that's being displayed. |
This class has no sub classes.
Some methods using this class:
- NSTabViewMBS.addTabViewItem(tabViewItem as NSTabViewItemMBS)
- NSTabViewMBS.indexOfTabViewItem(tabViewItem as NSTabViewItemMBS) as Integer
- NSTabViewMBS.insertTabViewItem(tabViewItem as NSTabViewItemMBS, atIndex as Integer)
- NSTabViewMBS.removeTabViewItem(tabViewItem as NSTabViewItemMBS)
- NSTabViewMBS.selectedTabViewItem as NSTabViewItemMBS
- NSTabViewMBS.selectTabViewItem(tabViewItem as NSTabViewItemMBS)
- NSTabViewMBS.tabViewItemAtIndex(index as Integer) as NSTabViewItemMBS
- NSTabViewMBS.tabViewItemAtPoint(x as Double, y as Double) as NSTabViewItemMBS
- NSTabViewMBS.tabViewItems as NSTabViewItemMBS()
Some examples using this class:
Blog Entries
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSTableViewRowActionMBS - NSTabViewMBS