Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTabViewItemMBS class.

NSTabViewItemMBS.color as NSColorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The color of the tab view item.

May not be used by the control.
(Read and Write property)

NSTabViewItemMBS.Enabled as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The enabled state of the tab view item.
Example
dim n as NSTabViewMBS = TabPanel1.NSTabViewMBS
dim t as NSTabViewItemMBS = n.tabViewItemAtIndex(0)
t.Enabled = false

(Read and Write property)

NSTabViewItemMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The internal reference to the NSTabViewItem object.

(Read and Write property)

NSTabViewItemMBS.identifier as Variant

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The identifier for this item.

(Read and Write property)

NSTabViewItemMBS.image as NSImageMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 15.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The image for the tab panel item.

Available in Mac OS X 10.10.
(Read and Write property)

NSTabViewItemMBS.initialFirstResponder as NSViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The initial first responder for the view associated with the receiver.

Sets the initial first responder for the view associated with the receiver (the view that is displayed when a user clicks on the tab) to view.
(Read and Write property)

NSTabViewItemMBS.label as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The label text for the receiver.

(Read and Write property)

NSTabViewItemMBS.tabState as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the current display state of the tab associated with the receiver.

The possible values are NSSelectedTab, NSBackgroundTab, or NSPressedTab. Your application does not directly set the tab state.
(Read only property)

NSTabViewItemMBS.tabView as NSTabViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the parent tab view for the receiver.

Note that this is the tab view itself, not the view displayed when a user clicks the tab.

A tab view item normally learns about its parent tab view when it is inserted into the view's array of items. The NSTabView methods addTabViewItem and insertTabViewItem set the tab view for the added or inserted item.
(Read only property)

NSTabViewItemMBS.toolTip as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The tooltip displayed for the tab view item.

(Read and Write property)

NSTabViewItemMBS.view as NSViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacCocoa Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The view associated with the receiver to view.

This is the view displayed when a user clicks the tab. When you set a new view, the old view is released.
(Read and Write property)

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...