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

set the borderColor of field "Alert" to "red"
set the borderColor of last button to "#000000"
set the borderColor of scrollbar ID 1010 to 128,128,128

Additional Comments
Expander triangle

Use the borderColor property to specify the border color of a button or scrollbar.

Value:

The borderColor 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 borderColor for all objects is empty.

Comments:

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

If the object's showBorder property is false, the borderColor has no effect. If the object's threeD property is true, the topColor and bottomColor are used to draw the border, rather than the borderColor.

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

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

* The borderColor of a card or group determines the color of the border around the card or group, as well as determining the borderColor of each object in the card or group that does not have its own borderColor.

* The borderColor of a button determines the color of the border around the button. If the button's style is "checkbox" or "radioButton", the borderColor has no effect. If the button is a button menu, the borderColor has no effect unless the button's menuMode property is set to "comboBox" or "popup". If the button's threeD property is set to true, the borderColor has no effect regardless of the button's style.

* The borderColor of a field determines the color of the border around a scrolling field's scrollbar, the color of the grid lines if the field's hGrid or vGrid property is true, and the color of the outline around any text in the field whose textStyle is set to "box".

* The borderColor of a scrollbar is the color of the border surrounding the scrollbar.

* The borderColor of a graphic is used to fill the marker shapes at the graphic's vertexes, if the graphic's style is curve or polygon and its markerDrawn is true. It is also used to draw a border around it if the graphic's showBorder and threeD properties are both set to true.

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

* The borderColor of a player or EPS object is the color of the border around the object. If the object's threeD property is set to true, the borderColor has no effect.

Tip: To set the color of an image's border, set the borderColor of the card, stack, or group that owns the image.

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

Changes to Revolution:

The borderColor's effect on grid lines in fields was introduced in version 2.0. In previous versions, the color of the grid lines was determined by the field's hiliteColor property.

User Comments
Expander triangle