Skip to main content

hilitedIcon

Type

property

Summary

Specifies an image to display in a button when the button is highlighted.

Syntax

set the hilitedIcon of <button> to {<imageID> | <imageName>}

Description

Use the hilitedIcon property to change a button's appearance when it is highlighted.

When the button is highlighted, the hilitedIcon is displayed within the button's rectangle.

Examples

set the hilitedIcon of button "Management" to 343

Value

NameTypeDescription

value

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

glossary: highlight, property, current stack

keyword: image, button

object: button

property: hilite, icon, showIcon, name, ID

function: stacks

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?