User Interface Controls > Common Properties > Layout > Types > Button |
A button control is used to place a press button on the rollout which the user can click, typically to perform some task.
The default alignment of button items is #center .
An image-specification array for providing bitmap images for the button. If this is specified, the <caption> is ignored and the contents of the button are replaced with the bitmaps.
Provides text for a tooltip for the button; no tooltip if unsupplied.
When set to true or not specified, the button will be drawn with a border. This was the default behavior prior to 3ds Max 2009.
When set to false, the button will be drawn without a border, making it one with the UI background.If the button is enabled, the border will appear when the button is pressed, or upon mouseover.
Available in 3ds Max 2009 and higher.
Sets the image-specification array for the button.
Setting the value to undefined will set the control back to displaying its caption rather than images in 3ds Max 8 and higher.
Get/set the tooltip string of the button.
Available in 3ds Max 9 and higher.
Called when the user clicks the button.
Called when the right mouse button is released over the button. Available in 3ds Max 8 and higher.