Error getting tags :
error 404Error getting tags :
error 404 foregroundPixel | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
foregroundPixel
Basics
Expander triangle
Type
Property
Syntax
set the foregroundPixel of object to colorNumber
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies which entry in the color table is used for an object's text and borders.
Examples

set the foregroundPixel of this stack to 0

Additional Comments
Expander triangle

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.

Value:

The foregroundPixel of an object is an integer between zero and (the screenColors - 1). It designates an entry in the current color table.

By default, the foregroundPixel for all objects is empty.

Comments:

The foregroundPixel property specifies which entry in the color table 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.

User Comments
Expander triangle