cancel
Showing results for 
Search instead for 
Did you mean: 

Border in Forms

Sultanuddin
Explorer
0 Kudos

Can we display borders in Forms using BOX command.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

yes we can display borders with the following commands

for example

BOX XPOS '0' MM YPOS '0' MM WIDTH '13' CH HEIGHT '65' MM FRAME 35 TW INTENSITY 40

This command draws a box of the specified size at the specified

position. For each parameter (XPOS, YPOS, WIDTH, HEIGHT, and

FRAME), both a measurement and a unit of measure must be

specified. The INTENSITY parameter should be entered as a

percentage between 0 and 100.

n XPOS, YPOS specify the upper left corner of the box, relative to

POSITION command values.

Default is the values specified in the POSITION command.

The following calculation is performed internally to determine the

absolute output position of a box on the page:

X(abs) = XORIGIN + XPOS

Y(abs) = YORIGIN + YPOS

n WIDTH determines the width of the box.

Default: WIDTH value of the SIZE command

n HEIGHT determines height of the box.

Default: HEIGHT value of the SIZE command

n FRAME determines the thickness of frame.

Default: 0 (no frame)

n INTENSITY determines the box contents as a grayscale percentage.

Default: 100 (full black)

Answers (2)

Answers (2)

Former Member
0 Kudos

yes...you can dsplay the same using BOX command and also POSITION/WINDOW POSITION can be used but its quite tedious.

but it depends on the requirement of the border's intensity. try to decrease the intesity in order to avoid the ODD Look.

bye,

shamim

Former Member
0 Kudos

Hi,

you can draw tbe borders with box command but increase TW for frame.

/: BOX WIDTH '17.5' CM HEIGHT 1 CM <b>FRAME 10 TW INTENSITY 15</b>

Br,

Laxmi