foregroundPixel | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | forepixel,firstpixel | ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image | ||||||
Summary | Specifies which entry in the color table is used for an object's text and borders. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: integer Glossary: object, property, bit depth, bit, color reference, color table Property: borderPixel, foregroundColor | ||||||
Description | Use the foregroundPixel property to change the foreground color of an object when the bit depth of the screen is 8 bits (256 colors) or less. The foregroundPixel property specifies which entry in the colortable is used for an object's foreground color. It is similar to the foregroundColor 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. | ||||||
Tags | ui |