set the foreColor [of <object>] to <color>
Applies to bitmaps, buttons, fields, groups, global painting, shapes
The foreColor property determines the foreground color of an object. It is also a global painting property.
For buttons, forecolor is the color of the text of the label and the outline if the button's style is not set to transparent or opaque.
Setting the foreColor property for global painting sets the foreColor universally used by the paint tools.
The range for colors is identified by numbers from 0 to 255. In addition, 16 colors can be referred to by name; see on page .
When you select an object, Oracle Media Objects displays the foreground color in the toolbar palette labeled F for shapes, buttons, and bitmaps, and T for fields.
When setting the foreColor property, you can use a number or a named color constant for the <color> parameter. However, the value of the foreColor property is always returned as a number.
For fields, setting the foreColor property has the same result as setting the textColor.
the forecolor of shape "color"
This returns the current color of the shape's border. set the forecolor of shape "color" to 194
This text has been mechanically extracted from the Oracle Media Objects 220.127.116.11 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.