Platforms to show: All Mac Windows Linux Cross-Platform
NSTableControlMBS control
See also desktop control: DesktopNSTableControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | Cocoa Controls | MBS MacControls Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Please use NSOutlineControlMBS for hierarchical lists and NSTableControlMBS for normal lists.
- 75 events
- event acceptDrop(info as NSDraggingInfoMBS, row as Integer, dropOperation as Integer) as boolean
- event BoundsChanged
- event Close
- event Closing
- event ColumnDidMove(notification as NSNotificationMBS, oldColumn as Integer, newColumn as Integer)
- event ColumnDidResize(notification as NSNotificationMBS, tableColumn as NSTableColumnMBS, OldWidth as Double)
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event dataCell(tableColumn as NSTableColumnMBS, row as Int64) as NSCellMBS
- event didAddRowView(rowView as NSTableRowViewMBS, row as Integer)
- event didClickTableColumn(tableColumn as NSTableColumnMBS)
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event didDragTableColumn(tableColumn as NSTableColumnMBS)
- event didRemoveRowView(rowView as NSTableRowViewMBS, row as Integer)
- event didTile
- event DoubleClick
- event draggingSessionEnded(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, operation as Integer)
- event draggingSessionWillBegin(session as NSDraggingSessionMBS, screenPoint as NSPointMBS, rowIndexes as NSIndexSetMBS)
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event heightOfRow(row as Int64) as Double
- event isGroupRow(row as Int64) as boolean
- event LeftMouseDown(e as NSEventMBS) as boolean
- event LeftMouseDragged(e as NSEventMBS) as boolean
- event LeftMouseUp(e as NSEventMBS) as boolean
- event LostFocus
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event mouseDownInHeaderOfTableColumn(tableColumn as NSTableColumnMBS)
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event namesOfPromisedFilesDroppedAtDestination(dropDestination as folderItem, DraggedRowsWithIndexes as NSIndexSetMBS) as string()
- event nextTypeSelectMatchFromRow(startRow as Int64, endRow as Int64, searchString as string) as Int64
- event numberOfRowsInTableView as Integer
- event objectValue(column as NSTableColumnMBS, row as Integer) as Variant
- event Open
- event Opening
- event OtherMouseDown(e as NSEventMBS) as boolean
- event OtherMouseDragged(e as NSEventMBS) as boolean
- event OtherMouseUp(e as NSEventMBS) as boolean
- event pasteboardItemForRow(row as Integer) as NSPasteboardItemMBS
- event RightMouseDown(e as NSEventMBS) as boolean
- event RightMouseDragged(e as NSEventMBS) as boolean
- event RightMouseUp(e as NSEventMBS) as boolean
- event rowActionsForRow(row as Integer, edge as Integer) as NSTableViewRowActionMBS()
- event rowViewForRow(row as Integer) as NSTableRowViewMBS
- event ScaleFactorChanged(NewFactor as Double)
- event SelectionDidChange(notification as NSNotificationMBS)
- event selectionIndexesForProposedSelection(proposedSelectionIndexes as NSIndexSetMBS) as NSIndexSetMBS
- event SelectionIsChanging(notification as NSNotificationMBS)
- event selectionShouldChangeInTableView as boolean
- event setObjectValue(value as Variant, column as NSTableColumnMBS, row as Integer)
- event shouldEditTableColumn(tableColumn as NSTableColumnMBS, row as Int64) as boolean
- event shouldReorderColumn(columnIndex as Int64, newColumnIndex as Int64) as boolean
- event shouldSelectRow(row as Int64) as boolean
- event shouldSelectTableColumn(tableColumn as NSTableColumnMBS) as boolean
- event shouldShowCellExpansion(tableColumn as NSTableColumnMBS, row as Int64) as Boolean
- event shouldTrackCell(cell as NSCellMBS, tableColumn as NSTableColumnMBS, row as Int64) as Boolean
- event shouldTypeSelectForEvent(e as NSEventMBS, searchString as string) as Boolean
- event sizeToFitWidthOfColumn(column as Int64) as Double
- event sortDescriptorsDidChange(oldDescriptors() as NSSortDescriptorMBS)
- event textShouldBeginEditing(control as NSControlMBS, fieldEditor as NSTextMBS) as boolean
- event textShouldEndEditing(control as NSControlMBS, fieldEditor as NSTextMBS) as boolean
- event toolTipForCell(cell as NSCellMBS, r as NSRectMBS, tableColumn as NSTableColumnMBS, row as Int64, mouseLocation as NSPointMBS) as string
- event typeSelectString(tableColumn as NSTableColumnMBS, row as Int64) as string
- event updateDraggingItemsForDrag(draggingInfo as NSDraggingInfoMBS)
- event validateDrop(info as NSDraggingInfoMBS, proposedRow as Integer, dropOperation as Integer) as Integer
- event view(tableColumn as NSTableColumnMBS, row as Integer) as NSViewMBS
- event willDisplayCell(cell as NSCellMBS, tableColumn as NSTableColumnMBS, row as Int64)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event willTile
- event writeRowsWithIndexes(rowIndexes as NSIndexSetMBS, pboard as NSPasteboardMBS) as boolean
- 13 properties
- property AcceptTabs as Boolean
- property allowsColumnReordering as Boolean
- property allowsColumnResizing as Boolean
- property allowsColumnSelection as Boolean
- property allowsEmptySelection as Boolean
- property allowsMultipleSelection as Boolean
- property autohidesScrollers as Boolean
- property disableCellEvents as Boolean
- property disableViewEvents as Boolean
- property hasHorizontalScroller as Boolean
- property hasVerticalScroller as Boolean
- property ScrollView as NSScrollViewMBS
- property View as NSTableViewMBS
Some examples using this control:
- /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/TableControl
Blog Entries
- MBS Xojo Plugins, version 22.5pr3
- Xojo 2022r3 released
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MonkeyBread Software Releases the MBS Xojo Plugins in version 17.1
- MBS Xojo Plugins, version 17.1pr5
- MBS Xojo Plugins, version 17.1pr3
- MBS Xojo Plugins, version 17.1pr2
- MBS Xojo / Real Studio Plugins, version 15.2pr2
Xojo Developer Magazine
- 15.3, page 10: News
- 14.4, page 22: NSTabula Rasa, What to do when your new sports car arrives in parts by Ulrich Bogun
Videos
Release notes
- Version 22.5
- Fixed a problem when Xojo crashed with NSTableControlMBS on a container in macOS Ventura.
- Version 17.1
- Added Listbox example projects using NSTableControlMBS and NSOutlineControlMBS controls.
- Added convenience properties to NSTableControlMBS control.
- Added NSTableControlMBS AcceptTabs property.
- Changed NSTableControlMBS to use internal data source, so please implement the data source events there.
The items on this page are in the following plugins: MBS MacControls Plugin.
NSSwitchControlMBS - NSTextFieldControlMBS