Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSColorPickerTouchBarItemMBS.colorPicker(identifier as string) as NSColorPickerTouchBarItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: Creates a bar item containing a button with the standard color picker icon that invokes the color picker.
Example:
dim t as NSColorPickerTouchBarItemMBS = NSColorPickerTouchBarItemMBS.colorPicker("test")
t.customizationLabel = "Drawing Color"
Notes: You may want to use AddHandler method to add an event handler to this object.

See also:

Feedback, Comments & Corrections

NSColorPickerTouchBarItemMBS.colorPicker(identifier as string, buttonImage as NSImageMBS) as NSColorPickerTouchBarItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: Creates a bar item containing a button with the provided image that invokes the color picker.
Notes: You may want to use AddHandler method to add an event handler to this object.

See also:

Feedback, Comments & Corrections

NSColorPickerTouchBarItemMBS.strokeColorPicker(identifier as string) as NSColorPickerTouchBarItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: Creates a bar item containing a button with the standard stroke color picker icon that invokes the color picker.
Notes:
You may want to use AddHandler method to add an event handler to this object.
Should be used when the item is used for picking stroke colors.

Feedback, Comments & Corrections

NSColorPickerTouchBarItemMBS.textColorPicker(identifier as string) as NSColorPickerTouchBarItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method TouchBar MBS Mac64bit Plugin 16.5 Yes No No Yes, macOS only No
Function: Creates a bar item containing a button with the standard text color picker icon that invokes the color picker.
Notes:
You may want to use AddHandler method to add an event handler to this object.
Should be used when the item is used for picking text colors.

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins