‎2008 Mar 28 9:23 AM
Hi,
While defining the BOX command in script, is it necessary that we give the X and Y positions in aphostropies?
please comfirm.
Thanks
‎2008 Mar 28 9:25 AM
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
‎2008 Mar 28 9:29 AM
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.
‎2008 Mar 28 9:31 AM
Yes it will not work in the first case you will have to enter the value within ' ' like 'a'.
‎2008 Mar 28 9:34 AM
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.
‎2008 Mar 28 9:26 AM
‎2008 Mar 28 9:27 AM
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
‎2008 Mar 28 9:28 AM
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.
‎2008 Mar 28 9:31 AM
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
‎2008 Mar 28 9:38 AM
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