4. System Classes : ActiveField Class : OutlineStyle Attribute
 
Share this page                  
OutlineStyle Attribute
Data Type: integer
4GL Access: RW
The OutlineStyle attribute (with OutlineWidth and OutlineColor) determines the appearance of an ActiveField's outline.
Valid values include:
OS_DEFAULT
Provides a default outline style that varies depending on the field type
OS_SOLID
Provides a solid outline
OS_3D
Provides a three-dimensional outline. In many cases, the last three outline styles provide better results.
OS_STANDARD
Provides an outline (or border) that varies with the field type. The OutlineWidth and OutlineColor attributes are ignored with this outline style. This outline style is designed to provide the most appropriate border for each field type. For some field types, there may be a two-pixel border that gives a raised appearance; for others, there may be no border at all. When there is a border, the border is drawn using standard Windows colors.
With this OutlineStyle, the field's background and foreground colors should be set to CC_SYS_BTNFACE and CC_SYS_BTNTEXT, respectively.
OS_RAISED
Provides a two-pixel border that gives a field a raised appearance. The border is drawn using standard Windows colors, and the OutlineColor and OutlineWidth attributes are ignored.
Note:  This outline style is available only for StackFields and Subforms.
With this OutlineStyle, the field's background and foreground colors should be set to CC_SYS_BTNFACE and CC_SYS_BTNTEXT, respectively.
OS_SUNKEN
Provides a two-pixel border that gives a field a sunken appearance. The border is drawn using standard Windows colors, and the OutlineColor and OutlineWidth attributes are ignored.
Note:  This outline style is available only for StackFields and Subforms.
With this OutlineStyle, the field's background and foreground colors should be set to CC_SYS_BTNFACE and CC_SYS_BTNTEXT, respectively.
OS_SHADOW
(Deprecated) Although available, this style is obsolete and should not be used.
Descriptions of system constant values and their numeric equivalents are listed in OutlineStyle Settings (see OutlineStyle Settings).