Box Styles |
DEVELOPER |
There are three Property Logic Commands associated with the visual appearance of a box.
.ShapeProjection
This property specifies the level on which the object appears. It has three values:
-
Normal (makes the object appear to be on the display surface)
-
Inset (makes the object appear to be below the display surface)
-
Raised (makes the object appear to be above the display surface).
This property can be applied to lines as well as format boxes and radios group boxes.
.BoxAppearance
This property determines where the effect is applied:
-
Surface (applies the effect to the entire area of the box)
-
Border (applies the effect only to the outline of the box).
This property cannot be applied to lines.
.ShapeBold
This Property specifies whether a bold outline is to be applied to a box.
-
TRUE (applies the bold outline)
-
FALSE (removes any bold outline).
Valid Combinations
When applied to a box, .ShapeProjection, BoxAppearance and ShapeBold form a display triplet. Only certain combinations are valid. If an invalid combination is defined, it will be ignored. The valid combinations are:
|
|
|
.ShapeProjection |
.BoxAppearance |
.ShapeBold |
NORMAL |
SURFACE |
FALSE |
NORMAL |
SURFACE |
TRUE |
INSET |
SURFACE |
FALSE |
INSET |
SURFACE |
TRUE |
INSET |
BORDER |
FALSE |
RAISED |
SURFACE |
FALSE |
RAISED |
SURFACE |
TRUE |
RAISED |
BORDER |
FALSE |
When the box style is not defined the kernel will map the box style into default values for projection, appearance and bold. The default is "Normal, Surface, False", unless there is a title and the title position is 0. In that case, the default is "Inset, Border, False".
Topic ID: 510041