‎2006 Jan 30 4:33 PM
HI all,
I have main window in my script. I have some text which will be written at the bottom of the main window using bottom and endbottom command. Now I want a box around this text. Can anyone explain how do I write my box command.
Regards,
Varun.
‎2006 Jan 30 4:34 PM
Hi Varun,
Use as below..
/: BOX XPOS '11.21' MM YPOS '5.31' MM HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW
‎2006 Jan 30 4:34 PM
Hi Varun,
Use as below..
/: BOX XPOS '11.21' MM YPOS '5.31' MM HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW
‎2006 Jan 30 4:42 PM
HI,
Where should I write this box command? Should I include it in bottom and endbottom.
Regards,
Varun.
‎2006 Jan 30 4:43 PM
hi Varun,
Yes. You have to include between Bottom and End Bottom.
Lanka
‎2006 Jan 30 5:01 PM
HI Lanka Murthy,
This is the code I have written in my editor for main window.
/: BOX FRAME 10 TW
/: BOTTOM
/: BOX FRAME 5 TW
/: * conditions apply as per company norms.
/: ENDBOTTOM
But it doesnot come in a box.
PLease Help Me.
Regards,
Varun.
‎2006 Jan 30 5:03 PM
Hi Varun,
Since you are creating box not of length of the whole window.You whould provide the Positions of XPOS & YPOS.
The code you gave will create the box for the whole window.
Message was edited by: Phani Kiran Nudurupati
‎2006 Jan 30 5:03 PM
Hi Varun,
Please specify the X and Y coordinates of the box that you have defined.
/: BOTTOM
/: BOX XPOS '15.00' CH YPOS '1.25' LN WIDTH 60 CH HEIGHT '5.00' LN FRAME 10
/: * conditions apply as per company norms.
/: ENDBOTTOM
This will give you a box starts at 15CH (from Left) having height of 1.25 LN width of 60CH
Lanka
‎2006 Jan 30 5:13 PM
HI,
I have modified the box command as
/: BOX XPOS '2' CM YPOS '16' CM FRAME 5 TW. Stuill I do not get a box.
Regards,
Varun.
‎2006 Jan 30 5:18 PM
Hi varun,
Your Ypos is too big ie 16 CM which is going beyond your lenght of the window.Try to change it.
‎2006 Jan 30 5:21 PM
Hi Varun,
Please define your Coordinates with less dimesions. You are using CM . Try with "CH" OR "MM". Please define the height also.
I think In your case your box is going beyond your page limits.
Try :
/: BOX XPOS '2' CM YPOS '5' CM HEIGHT '12' CM FRAME 10 TW
Lanka
‎2006 Jan 30 4:35 PM
‎2006 Jan 30 4:35 PM
Hi Varun,
You can define box as :
/: BOX WIDTH '72.50' CH HEIGHT '14.0' FRAME 10 TW
Lanka
‎2006 Jan 30 4:38 PM
You can also create a window just for your box, and have some of this code.
/*
/* The top line
/: POSITION PAGE
/* First horozontal line
/: POSITION XORIGIN '1.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX HEIGHT '1.5' LN INTENSITY 10
/: BOX FRAME 10 TW
/*
/* Second horozontal line
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '25.5' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
/*
/* Bottom of Code Box
/* POSITION PAGE
/* POSITION XORIGIN '1.0' CH YORIGIN '51.0' LN
/* SIZE WIDTH '79.0' CH HEIGHT '0' LN
/* BOX FRAME 10 TW
/*
/* The 1st vertical line
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '41.0' LN
/: BOX FRAME 10 TW
/*
/* The 2nd vertical line
/: POSITION PAGE
/: POSITION XORIGIN '20.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '33.0' LN
/: BOX FRAME 10 TW
/* The 3th vertical line
/: POSITION PAGE
/: POSITION XORIGIN '40.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '33.0' LN
/: BOX FRAME 10 TW
/*
/* The 4th vertical line
/: POSITION PAGE
/: POSITION XORIGIN '60.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '33.0' LN
/: BOX FRAME 10 TW
/*
/* The 5th vertical line
/: POSITION PAGE
/: POSITION XORIGIN '80.0' CH YORIGIN '24.0' LN
/: SIZE WIDTH '0' CH HEIGHT '41.0' LN
/: BOX FRAME 10 TW
/*
/* Top of signature Box
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '57.0' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
*
/* Bottom of signature Box
/: POSITION PAGE
/: POSITION XORIGIN '1.0' CH YORIGIN '65.0' LN
/: SIZE WIDTH '79.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
Regards,
Rich Heilman