hilitePixel

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the hilitePixel of <object> to <colorNumber>
Synonymsthirdpixel
Associationsstack, card, field, button, graphic, scrollbar, player, image
Summary

Specifies which entry in the color table is used for the background color when an object, or text in an object, is highlighted.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the hilitePixel of card button 8 to (the number of cards + 3)
Values
NameTypeDescription
Value

The hilitePixel of an object is an integer between zero and (the screenColors - 1). It designates an entry in the current color table. By default, the hilitePixel for all objects is empty.

RelatedKeyword: integer
Glossary: object, property, highlight, color reference, bit, color table, hiliteColor, bit depth
Property: borderPixel
Description

Use the hilitePixel property to change the highlight color of an object when the bit depth of the screen is 8 bits (256 colors) or less.

The hilitePixel property specifies which entry in the color table is used for an object's highlight color. It is similar to the hiliteColor property, but is specified as an entry in the current color table, rather than as a color reference.

The color table can be set by changing the colorMap property.

Tagsui