Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTableHeaderViewMBS class.

NSTableHeaderViewMBS.columnAtPoint(point as NSPointMBS) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the index of the column whose header lies under aPoint in the receiver, or –1 if no such column is found.

point: is expressed in the receiver's coordinate system.

NSTableHeaderViewMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new table header view with size 100/100 and position 0/0
Example
dim t as new NSTableHeaderViewMBS

On success the handle property is not zero.

See also:

NSTableHeaderViewMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates an object based on the given NSTableHeaderView handle.
Example
dim t as new NSTableHeaderViewMBS(0, 0, 100, 100)
dim v as new NSTableHeaderViewMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)

The handle is casted to a NSTableHeaderView and the plugin retains this handle.

See also:

NSTableHeaderViewMBS.Constructor(left as Double, top as Double, width as Double, height as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 10.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new table header view with the given size and position.
Example
dim x as new NSTableHeaderViewMBS(0, 0, 100, 100)

On success the handle property is not zero.

See also:

NSTableHeaderViewMBS.draggedColumn as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
If the user is dragging a column in the receiver, returns the index of that column.

Otherwise returns –1.

NSTableHeaderViewMBS.draggedDistance as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
If the user is dragging a column in the receiver, returns the column's horizontal distance from its original position.

Otherwise the return value is meaningless.

NSTableHeaderViewMBS.headerRectOfColumn(Column as Integer) as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the rectangle containing the header tile for the column at columnIndex.

Raises an NSInternalInconsistencyException if columnIndex is out of bounds.

NSTableHeaderViewMBS.resizedColumn as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 9.6 ✅ Yes ❌ No ❌ No ❌ No Desktop only
If the user is resizing a column in the receiver, returns the index of that column.

Otherwise returns –1.

NSTableHeaderViewMBS.tableView as NSTableViewMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The owner tableview.

(Read and Write computed property)

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


The biggest plugin in space...