foregroundColor | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | forecolor,firstcolor,textcolor,thumbcolor,fillfore,penfore | ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image, group | ||||||
Summary | Specifies the color of object text and borders. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: image, effective, default, button, field, player, card, scrollbar, graphic, colorPalette Property: linkColor, HTMLText, owner, showBorder, showName, showValue, linkHiliteColor, foregroundPattern, RTFText Command: answer color, group Function: mouseColor, value Glossary: object, property, color palette, HTML, hexadecimal, video clip, integer, keyword, audio clip, chunk, color reference, insertion point, object type, EPS Object: graphic, button, scrollbar, stack, field, image | ||||||
Description | Use the foregroundColor property to change the color of text or the color that fills an object. Setting the foregroundColor of an object to empty allows the foregroundColor of the object's owner to show through. Use the effective keyword to find out what color is used for the object, even if its own foregroundColor is empty. The setting of the foregroundColor property has different effects, depending on the object type:
The foregroundColor also determines the color of the blinking insertion point when it is in the field.
If an object's foregroundPattern is set, the pattern is shown instead of the color specified by foregroundColor. | ||||||
Tags | ui |