disabledIcon
Type
property
Summary
Specifies an image to display in a button when the button is disabled.
Syntax
set the disabledIcon of <button> to {<imageID> | <imageName>}
Description
Use the disabledIcon property to change a button's appearance when it is disabled.
When the button's enabled property is set to false, the disabledIcon is displayed within the button's rectangle.
If a button's showIcon property is false, the setting of its disabledIcon property has no effect.
Examples
set the disabledIcon of button "Boss Key" to "Innocent Spreadsheet"
Value
Name | Type | Description |
---|---|---|
value | The disabledIcon property is the ID or name of an image to use for an icon. LiveCode looks for the specified image first in the current stack, then in other open stacks. By default, the disabledIcon property of newly created buttons is set to zero. |
Related
command: disable
function: stacks
glossary: property, current stack
object: button
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile