Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

NSColorMBS.cyanColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose RGB value is 0.0, 1.0, 1.0 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.cyanColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.darkGrayColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose grayscale value is 1/3 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.darkGrayColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.disabledControlTextColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for text on disabled controls.
Example:
dim c as NSColorMBS = NSColorMBS.disabledControlTextColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.grayColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose grayscale value is 0.5 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.grayColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.greenColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose RGB value is 0.0, 1.0, 0.0 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.greenColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.gridColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the optional gridlines in, for example, a table view.
Example:
dim c as NSColorMBS = NSColorMBS.gridColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.headerColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used as the background color for header cells in table views and outline views.
Example:
dim c as NSColorMBS = NSColorMBS.headerColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used as the background for header cells in table and outline views.

Feedback, Comments & Corrections

NSColorMBS.headerTextColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for text in header cells in table views and outline views.
Example:
dim c as NSColorMBS = NSColorMBS.headerTextColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.highlightColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color that represents the virtual light source on the screen.
Example:
dim c as NSColorMBS = NSColorMBS.highlightColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.keyboardFocusIndicatorColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color that represents the keyboard focus ring around controls.
Example:
dim c as NSColorMBS = NSColorMBS.keyboardFocusIndicatorColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.knobColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the flat surface of a slider knob that hasn't been selected.
Example:
dim c as NSColorMBS = NSColorMBS.knobColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The knob's beveled edges, which set it in relief, are drawn in highlighted and shadowed versions of the face color. When a knob is selected, its color changes to selectedKnobColor.

Feedback, Comments & Corrections

NSColorMBS.lightGrayColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose grayscale value is 2/3 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.lightGrayColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.magentaColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose RGB value is 1.0, 0.0, 1.0 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.magentaColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.orangeColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose RGB value is 1.0, 0.5, 0.0 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.orangeColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.purpleColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose RGB value is 0.5, 0.0, 0.5 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.purpleColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.redColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose RGB value is 1.0, 0.0, 0.0 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.redColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.scrollBarColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for scroll "bars"—that is, for the groove in which a scroller's knob moves.
Example:
dim c as NSColorMBS = NSColorMBS.scrollBarColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used for scroll bars.

Feedback, Comments & Corrections

NSColorMBS.scrubberTexturedBackgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 16.5 Yes No No Yes, macOS only No
Function: The scrubber texture background color.

Feedback, Comments & Corrections

NSColorMBS.secondarySelectedControlColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used in non-key views.
Example:
dim c as NSColorMBS = NSColorMBS.secondarySelectedControlColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.selectedControlColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the face of a selected control.
Example:
dim c as NSColorMBS = NSColorMBS.selectedControlColor

window1.Title=c.description
window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used for the face of a selected control—a control being dragged or clicked.

Feedback, Comments & Corrections

NSColorMBS.selectedControlTextColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for text in a selected control—a control being clicked or dragged.
Example:
dim c as NSColorMBS = NSColorMBS.selectedControlTextColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.selectedKnobColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the slider knob when it is selected.
Example:
dim c as NSColorMBS = NSColorMBS.selectedKnobColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used for a slider knob that is selected—that is, dragged.

Feedback, Comments & Corrections

NSColorMBS.selectedMenuItemColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the face of selected menu items.
Example:
dim c as NSColorMBS = NSColorMBS.selectedMenuItemColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used for selected menu items.

Feedback, Comments & Corrections

NSColorMBS.selectedMenuItemTextColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the text in menu items.
Example:
dim c as NSColorMBS = NSColorMBS.selectedMenuItemTextColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used for text in selected menu items.

Feedback, Comments & Corrections

NSColorMBS.selectedTextBackgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the background of selected text.
Example:
dim c as NSColorMBS = NSColorMBS.selectedTextBackgroundColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.selectedTextColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for selected text.
Example:
dim c as NSColorMBS = NSColorMBS.selectedTextColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.shadowColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color that represents the virtual shadows cast by raised objects on the screen.
Example:
dim c as NSColorMBS = NSColorMBS.shadowColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

NSColorMBS.textBackgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for the text background.
Example:
dim c as NSColorMBS = NSColorMBS.textBackgroundColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used for the background of text. When text is selected, its background color changes to the return value of selectedTextBackgroundColor.

Feedback, Comments & Corrections

NSColorMBS.textColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns the system color used for text.
Example:
dim c as NSColorMBS = NSColorMBS.textColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue
Notes: The system color used for text. When text is selected, its color changes to the return value of selectedTextColor.

Feedback, Comments & Corrections

NSColorMBS.whiteColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 8.6 Yes No No Yes, macOS only No
Function: Returns an NSColor object whose grayscale and alpha values are both 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.whiteColor

Title=c.description

window1.HasBackColor=true
window1.backcolor=c.colorValue

Feedback, Comments & Corrections

Previous items Next items

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




Links
MBS Xojo Chart Plugins