cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Boxes in a window

Former Member
0 Kudos

Hi Friends ,

I need to create a number of small boxes in the window . I do put in the command below but I cannot see any boxes . Please guide me . The window attributes are as follows :

left margin : 5 CH

UPPER MARGIN : 5 LN

window width : 70 CH

WINDOW WIDTH : 14 LN

The command I used is .

/:BOX XPOS '0.5' CM WIDTH 8.1 CM HEIGHT '0.4' CM FRAME 10 TW INTENSITY 10

/:BOX XPOS '6.4' CM WIDTH 6.4 CM HEIGHT '0.4' CM FRAME 10 TW

/:BOX XPOS '0.5' CM YPOS '0.9' CM WIDTH 0 TW HIEGHT 0.3 CM FRAME 10 TW

The boxes look like the ones in a paystub .

|_________________________|________| |_______________| |_______

_________________________

________

_____

___

____

_______

_____

_______

___________________________________________________________________

|

|

Thanks ,

Hari

Message was edited by:

Hari G Krishna

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The method u used is correct.

First thing is when we draw box we should take care is,

First display the text u want and draw the box around it.

Example:

/e Text

text

/E box

For box problem u have to drwa one by one.Is is adjustment and trial and error method.

Let me know if u face any problem.

Give me ur mail I can help u more

Regards,

Former Member
0 Kudos

Hi ,

Thanks for your help . Sure it would be of great help . My email ID is hari.wsu@gmail.com . Please email me .

Thank you ,

Hari

Former Member
0 Kudos

Hi ,

The syntax you used is correct but what i feel is Boxes are overlapping each other try increasing the Distance between them . You should get box correctly as mentioned use XY position .

regards

Badari

Former Member
0 Kudos

Hi Hari,

Syntax is :-

<b>/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]</b>

example:

/: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'

/: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW

INTENSITY 10