|
|
Purpose
|
.ShapeBold allows you to apply the bold attribute to the surface appearance of .
|
Syntax
|
Setting: ObjectReference.ShapeBold = Value
Retrieving: Variable = ObjectReference.ShapeBold
|
Operation
|
ObjectReference is the Tag Name of the object
Valueis the setting for the bold property (TRUE or 1 = bold, FALSE or 0 = not bold)
Variable is an alphanumeric variable
|
Remarks
|
.ShapeBold can only be applied to format boxes and radio group boxes. It is invalid for lines.
.ShapeBold is used in conjunction with .ShapeProjection and .BoxAppearance. and there are only certain valid combinations of these which comprise the Box Styles. If an invalid combination is defined it will be ignored.
The value returned in the retrieving command is in upper case.
|
Example
|
To set the style of a box to Surface, Raised, Bold for the box (Tag Name = CustomerNameBox):
CustomerNameBox.BoxAppearance = "SURFACE"
CustomerNameBox.ShapeProjection = "RAISED"
CustomerNameBox.ShapeBold = TRUE
To remove the bold from the box leaving .BoxAppearance and .ShapeProjection the same:
CustomerNameBox.SHAPEBOLD = 0 or:
#FALSE = 0
CustomerNameBox.ShapeBold = #FALSE
To retrieve the value of the .ShapeBold property from the box:
$CUSTOMERNAMEBOX_ShapeBold = CustomerNameBox.ShapeBold
|