Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

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.secondaryLabelColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: Foreground color for secondary static text and related elements.
Notes: Requires MacOS 10.10 or newer.

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.selectedContentBackgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The background color of selected and emphasized (focused) content: table views rows, collection views, etc.
Notes:
Alias for alternateSelectedControlColor
Requires MacOS 10.14 or newer.

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.separatorColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: Foreground used for separators between sections of content.
Notes:
Not appropriate for use as split view or window chrome dividers.
Requires MacOS 10.14 or newer.

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.systemBlueColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system blue color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemBrownColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system brown color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemGrayColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system gray color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemGreenColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system green color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemOrangeColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system orange color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemPinkColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system pink color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemPurpleColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system purple color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemRedColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system red color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.systemYellowColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The system yellow color.
Notes: Requires MacOS 10.10 or newer.

Feedback, Comments & Corrections

NSColorMBS.tertiaryLabelColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: Foreground color for disabled static text and related elements.
Notes: Requires MacOS 10.10 or newer.

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.underPageBackgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: Background areas revealed behind documents. This should not be used for drawing, and NSVisualEffectMaterialUnderPageBackground should be used instead.
Notes: Requires MacOS 10.8 or newer.

Feedback, Comments & Corrections

NSColorMBS.unemphasizedSelectedContentBackgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The background color of selected and unemphasized content: table views rows, collection views, etc.
Notes:
Requires MacOS 10.14 or newer.
Alias for secondarySelectedControlColor

Feedback, Comments & Corrections

NSColorMBS.unemphasizedSelectedTextBackgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The background for unemphasized text selection (e.g. when the associated control/view/window is not key)
Notes: Requires MacOS 10.14 or newer.

Feedback, Comments & Corrections

NSColorMBS.unemphasizedSelectedTextColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method Cocoa Drawing MBS MacBase Plugin 18.4 Yes No No Yes, macOS only No
Function: The foreground for unemphasized text selection (e.g. when the associated control/view/window is not key)
Notes: Requires MacOS 10.14 or newer.

Feedback, Comments & Corrections

Previous items Next items

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




Links
MBS Xojo Plugins