Top
PowerCOBOL V11.0 Reference
FUJITSU Software

4.27 BorderStyle Property

Description:

Determines the style of the frame.

Used in:

Controls

Animation

Edit

FileList

FolderList

Frame

Graph

GroupBox

Image

ListBox

ListView

MCI

ProgressIndicator

Shape

Slider

StaticText

Table

TextBox

TreeView

Object

Form

Values (with constants):

Form

0 - Variable(POW-BORDER-VARIABLE)
1 - Fixed(POW-BORDER-FIXED)
2 - Dialog Frame(POW-BORDER-DIALOG)
3 - Variable Tool(POW-BORDER-VARIABLETOOL)
4 - Fixed Tool(POW-BORDER-FIXEDTOOL)
5 - No Frame(POW-BORDER-NOFRAME)

Shape

0 - None(POW-BORDER-NONE)
1 - Solid(POW-BORDER-SOLID)
2 - Dash(POW-BORDER-DASH)
3 - Dot(POW-BORDER-DOT)
4 - Dash dot(POW-BORDER-DASHDOT)
5 - Dash double dot(POW-BORDER-DASHDOTDOT)
6 - Inside frame - a solid line within the frame
(POW-BORDER-INSIDEFRAME)

If the value of the BorderWidth property is over 1 pixel and the value of the BorderStyle property is 2 to 5, the value of the BorderStyle property is ignored and the frame is solid.

Others

0 - Off (None)(POW-BORDER-NONE)
1 - Solid(POW-BORDER-SOLID)

Default values:

Form

0 - Variable(POW-BORDER-VARIABLE)

StaticText and Slider

0 - Off (None)(POW-BORDER-NONE)

Others

1 - Solid(POW-BORDER-SOLID)

COBOL picture:

S9(4) COMP-5

OLE data type:

VT_I2

Design time access:

Set and reference.

Execution time access:

Form

Not accessible

Controls

Set and reference.

Backward compatibility attribute:

For Image, Shape, StaticText and TextBox

POW-BORDER PIC S9(4) COMP-5