Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

NSColorMBS.windowBackgroundColor 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 a pattern color that will draw the ruled lines for the window background.
Example:
dim c as NSColorMBS = NSColorMBS.windowBackgroundColor

Title=c.description

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

Feedback, Comments & Corrections

NSColorMBS.windowFrameColor 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 window frames, except for their text.
Example:
dim c as NSColorMBS = NSColorMBS.windowFrameColor

Title=c.description

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

Feedback, Comments & Corrections

NSColorMBS.windowFrameTextColor 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 window frames.
Example:
dim c as NSColorMBS = NSColorMBS.windowFrameTextColor

// convert to Calibrated RGB ColorSpace
c=c.colorUsingColorSpaceName("NSCalibratedRGBColorSpace")

Title=c.description

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

Feedback, Comments & Corrections

NSColorMBS.yellowColor 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, 1.0, 0.0 and whose alpha value is 1.0.
Example:
dim c as NSColorMBS = NSColorMBS.yellowColor

Title=c.description

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

Feedback, Comments & Corrections

Previous items

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




Links
MBS Xojo Plugins