Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Doubt in BOX command

Former Member
0 Likes
940

Hi,

While defining the BOX command in script, is it necessary that we give the X and Y positions in aphostropies?

please comfirm.

Thanks

9 REPLIES 9
Read only

Former Member
0 Likes
922

Hi,

It is necessary to give X-pos and Y-pos otherwise it can't decide where to put the box in the window.

Regards

Sandipan

Read only

0 Likes
922

I am giving XPOS and YPOS , but my question is while giving the positons, the value needs to be given like this 2.3 or '2.3'

because its not working in the first case.

Please comfirm.

Read only

0 Likes
922

Yes it will not work in the first case you will have to enter the value within ' ' like 'a'.

Read only

0 Likes
922

hi,

it is not necessary to give X and Y positions.by default the box will be Drawn at the starting position of the window.

Read only

Former Member
0 Likes
922

Yes it is necessary

Read only

Former Member
0 Likes
922

hi,

Yes it is necessary to draw a box.... here are all the possible ways to use it

/: BOX FRAME 10 TW

Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).


/: BOX INTENSITY 10
Fills the window background with shadowing having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
 

Read only

Former Member
0 Likes
922

hi,

It is not necessary to give X and Y positions.

these X and Y positions are refers to position where u want to locate the box in a window of a page.

the syntax is :

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

/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

thanks

raji

reward if helpful.

Read only

dhruv_shah3
Active Contributor
0 Likes
922

Hi,

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

/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

Otherwise it will not understand without the width and height.

HTH

Regards,

Dhruv Shah

Read only

Former Member
0 Likes
922

Hi

u can even declare a box without xpos and ypos...

u need to give the values as '2.3'

Edited by: Jyothsna M on Mar 28, 2008 10:39 AM