NSCellMBS constants

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSCellMBS class.

Background Styles

NSCellMBS.NSBackgroundStyleDark = 1

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 9.6
One of the constants for background styles.

The background is a dark color.
Light content contrasts well with this background.
Available in Mac OS X v10.5 and later.

NSCellMBS.NSBackgroundStyleLight = 0

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 9.6
One of the constants for background styles.

The background is a light color.
Dark content contrasts well with this background.
Available in Mac OS X v10.5 and later.

NSCellMBS.NSBackgroundStyleLowered = 3

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 9.6
One of the constants for background styles.

The background is intended to appear lower than the content drawn on it.
Content might need to be embossed.
Available in Mac OS X v10.5 and later.

NSCellMBS.NSBackgroundStyleRaised = 2

Type Topic Plugin Version
const Cocoa Controls MBS MacCocoa Plugin 9.6
One of the constants for background styles.
Example
// ask for the textfield behind the label
dim n as NSTextFieldMBS = NSTextFieldMBS(label1.NSViewMBS)

// query cell
dim c as NSTextFieldCellMBS = n.cell

// and set background style
c.backgroundStyle = NSTextFieldCellMBS.NSBackgroundStyleRaised

The background is intended to appear higher than the content drawn on it.
Content might need to be inset.
Available in Mac OS X v10.5 and later.

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


💬 Ask a question or report a problem