showIcon

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the showIcon of <button> to {true | false}
Associationsbutton
Summary

Specifies whether a button's icon is visible.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the showIcon of button 3 to false
Values
NameTypeDescription
Value

The showIcon of a button is true or false. By default, the showIcon property of newly created buttons is set to false.

RelatedKeyword: image
Property: armedIcon, icon, hilitedIcon
Object: button
Glossary: property
Description

Use the showIcon property to change a button's appearance.

If a button's showIcon property is set to true, the image specified in the button's icon property is displayed in the button's rectangle. If the showIcon is false, the icon is not displayed.

If the button's icon property is zero, the setting of this property has no effect.

A button with an icon may need to be resized to show the entire icon.

Tagsui