Purpose

.BoxAppearance allows you to specify the shape of the selected box for certain objects.
 

Syntax

Setting:             ObjectReference.BoxAppearance = Value

Retrieving:         Variable = ObjectReference.BoxAppearance
 

Operation

ObjectReference is the Tag Name of the object
Value
is either "Surface" or "Border"
Variable
is an alphanumeric variable
 

Remarks

.BoxAppearance can only be applied to format boxes and radio group boxes.  It is invalid for lines.

.BoxAppearance is used in conjunction with .ShapeProjection and .ShapeBold. 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 Raised, Surface, Bold border for the box using the Tag Name of CustomerNameBox:

CustomerNameBox.ShapeProjection = "RAISED"
CustomerNameBox.BoxAppearance = "SURFACE"
CustomerNameBox.ShapeBold = TRUE


To reset the box appearance while ShapeProjection and ShapeBold remain the same:

CustomerNameBox.BoxAppearance = "BORDER" or:

$BORDER = "BORDER"
CustomerNameBox.BoxAppearance = $BORDER


To retrieve the value of the .BoxAppearance property:

$CUSTOMERNAMEBOX_BOXAPPEARANCE = CustomerNameBox.BoxAppearance
 

Comment on this topic

Topic ID: 510040