Error getting tags :
error 404Error getting tags :
error 404 topColor | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
topColor
Basics
Expander triangle
Type
Property
Syntax
set the topColor of object to {empty | colorName | RGBColor}
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies the color of a three-D object's raised edge.
Examples

set the topColor of last button to 32,32,96
set the topColor of this stack to "white"
set the topColor of scrollbar ID 22 to "#339933"

Additional Comments
Expander triangle

Objects whose threeD property is set to true appear to stick out of or recede into the screen. Use the topColor property to specify the color of the raised edge of the object.

Value:

The topColor of an object is a color reference.

The colorName is any standard color name.

The RGBColor consists of three comma-separated integers between zero and 255, specifying the level of each of red, green, and blue; or an HTML-style color consisting of a hash mark (#) followed by three hexadecimal numbers, one for each of red, green, and blue.

By default, the topColor for all objects is empty.

Comments:

Setting the topColor of an object to empty allows the topColor 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 topColor is empty.

If the object's showBorder property is false, the topColor has no effect.

The setting of the topColor property has different effects, depending on the object type:

* The topColor of a stack determines the topColor of each object in the stack that does not have its own topColor.

* The topColor of a card determines the color of the border on the top and left edges of the card or group, as well as determining the topColor of each object on the card that does not have its own topColor.

* The topColor of a group determines the color of the border on the bottom and right edges of the group, as well as determining the topColor of each object in the group that does not have its own topColor.

* The topColor of a button, player, EPS object, or graphic forms a border on the top and left edges of the object. If the object's threeD property is false, the topColor has no effect.

* The topColor of a field forms a border on the bottom and right edges of the field and (if the field is a scrolling field) the top and left edges of the arrow boxes at the ends of the scrollbar and the bottom and right edges of the scroll area. The field's topColor also determines the color of the top and left edges of any text in the field whose textStyle is set to "threeDBox". If the field's threeD property is false, the field border is not affected.

* The topColor of a scrollbar forms a border on the top and left edges of the arrow boxes at the ends of the scrollbar, and the bottom and right edges of the scroll area.

* The topColor of an audio clip or video clip has no effect.

* The topColor of an image is the fifth color in the image's color palette. (To set the color of the raised edge of an image's border, set the topColor of the card, stack, or group that owns the image.)

If an object's topPattern is set, the pattern is shown instead of the color specified by the topColor.

User Comments
Expander triangle