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

NSButtonCellMBS.alternateImage as NSImageMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.0 Yes No No Yes, macOS only No
Function: The image the button displays in its alternate state and, if necessary, redraws its contents.
Notes:
Note that some button types don't display an alternate image.
(Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.alternateTitle as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.0 Yes No No Yes, macOS only No
Function: The title the button displays when it's in its alternate state.
Notes:
Note that some button types don't display an alternate title.
(Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.attributedAlternateTitle as NSAttributedStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.0 Yes No No Yes, macOS only No
Function: The string the button displays when it's in its alternate state to the given attributed string.
Notes:
Note that some button types don't display an alternate title.

Graphics attributes that are set on the cell (backgroundColor, alignment, font, etc.) are overridden when corresponding properties are set for the attributed string.
(Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.attributedTitle as NSAttributedStringMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.0 Yes No No Yes, macOS only No
Function: The string the button displays when it's in its normal state to the given attributed string and redraws the button.
Notes:
The title is always shown on buttons that don't use their alternate contents when highlighting or displaying their alternate state.

Graphics attributes configured for the cell (backgroundColor, alignment, font, etc.) are overridden when corresponding properties are set for the attributed string.
(Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.backgroundColor as NSColorMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.2 Yes No No Yes, macOS only No
Function: The background color for the button.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.imageDimsWhenDisabled as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.2 Yes No No Yes, macOS only No
Function: Whether to dim image when button is disabled.
Notes:
When disabled, the image and text of an NSButtonCell are normally dimmed with gray.
Radio buttons and switches use (imageDimsWhenDisabled = false) so only their text is dimmed.
(Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.imagePosition as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.0 Yes No No Yes, macOS only No
Function: The position of the receiver's image relative to its title.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.imageScaling as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.0 Yes No No Yes, macOS only No
Function: The scale factor for the receiver's image.
Notes:
Available in OS X v10.5 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.showsBorderOnlyWhileMouseInside as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.2 Yes No No Yes, macOS only No
Function: Whether to show border only while mouse is inside.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSButtonCellMBS.sound as Variant
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 14.0 Yes No No Yes, macOS only No
Function: The sound that's played when the user presses the receiver.
Notes:
The sound is played during a mouse-down event, such as NSLeftMouseDown.
Value is a NSSoundMBS object.
(Read and Write property)

Feedback, Comments & Corrections

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




Links
MBS Xojo PDF Plugins