Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSIndexSetMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSIndexSetMBS.Constructor(index as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSIndexSetMBS.Constructor(indexes as NSIndexSetMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSIndexSetMBS.Constructor(StartIndex as Integer, Length as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This method raises an NSRangeException when indexRange would add an index that exceeds the maximum allowed value for unsigned integers.
See also:
NSIndexSetMBS.containsIndex(index as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true when the receiver contains index, false otherwise.
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
- /MacControls/Listbox and TableView Demos/NSOutlineView/Disk Browser
NSIndexSetMBS.containsIndexes(indexes as NSIndexSetMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
True when the receiver contains a superset of the indexes in indexSet, false otherwise.
NSIndexSetMBS.containsIndexesInRange(StartIndex as Integer, Length as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true when the receiver contains the indexes in indexRange, false otherwise.
NSIndexSetMBS.copy as NSIndexSetMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.count as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.countOfIndexesInRange(StartIndex as Integer, Length as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available in Mac OS X v10.5 and later.
NSIndexSetMBS.firstIndex as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
First index in the receiver or NSNotFound (&h7fffffff) when the receiver is empty.
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
NSIndexSetMBS.indexGreaterThanIndex(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns the losest index in the receiver greater than index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.indexGreaterThanOrEqualToIndex(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns closest index in the receiver greater than or equal to index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.indexLessThanIndex(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns closest index in the receiver less than index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.indexLessThanOrEqualToIndex(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns closest index in the receiver less than or equal to index; NSNotFound (&h7FFFFFFF) when the receiver contains no qualifying index.
NSIndexSetMBS.intersectsIndexesInRange(StartIndex as Integer, Length as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.isEqualToIndexSet(other as NSIndexSetMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.lastIndex as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns Last index in the receiver or NSNotFound (&h7FFFFFFF) when the receiver is empty.
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
NSIndexSetMBS.mutableCopy as NSMutableIndexSetMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.6 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSIndexSetMBS.Operator_Convert as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This is for having str() function and msgbox work with NSIndexSetMBS class.
If more than 20 values, you get only 20 values followed with dots and last value on the end.
NSIndexSetMBS.Values as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacBase Plugin.