visitedIcon

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the visitedIcon of <button> to {<imageID> | <imageName>}
Associationsbutton
Summary

Specifies an image to display in a button when the button's visited property is true.

Introduced1.1
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the visitedIcon of button "To Do List" to 5499
set the visitedIcon of me to the ID of image "Done"
Values
NameTypeDescription
Value

The visitedIcon 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 visitedIcon property of newly created buttons is set to zero.

RelatedKeyword: image, button
Property: icon, visited, name, ID
Function: stacks
Glossary: property, current stack
Object: button
Description

Use the visitedIcon property to change a button's appearance when it has been clicked during the current session.

When the button has been clicked during the current session, the visitedIcon is displayed within the button's rectangle instead of the icon (if one has been specified).

Tagsui