2006 Jul 24 5:35 PM
Hi Guys,
Can anyone please let me know how to draw vertical and horizontal lines in smart forms, i have to do this in the secondary window.
thanks,
Ramesh
Hi Guys,
Can anyone please let me know how to draw vertical and horizontal lines in smart forms, i have to do this in the secondary window.
thanks,
Ramesh
2006 Jul 24 5:42 PM
hi ramesh,
horizontal line...
/: BOX XPOS 1 CM YPOS 1 CM WIDTH 10 CM HEIGHT 0 TW FRAME 10 TW
vertical line
/: BOX XPOS 1 CM YPOS 1 CM WIDTH 0 CM HEIGHT 10 CM FRAME 10 TW
sorry i thought its for scripts
hope this helps,
do reward if it helps,
priya.
Message was edited by: Priya
2006 Jul 24 5:43 PM
Hi Priya,
I think this BOX command won't work in SMART FORMS.
Thanks,
Ramesh
2006 Jul 24 5:52 PM
hi ramesh,
i thought the question was for scripts...
but for smartforms .
on the main window..
right click and select Template
in the Template tab. select the pattern u want.
2006 Jul 24 6:27 PM
Hi Priya,
If you don't mind can you explain clearly, i did what u said but i am not getting anything in the template window but there i can see a icon for to draw lines and columns but i don't know how to use that one.
thanks,
ramesh
2006 Jul 24 6:34 PM
hi ramesh,
for the TEMPLATE node u have 3 tabs right!!
in that click on <b>TEMPLATE TAB</b>
below that u have a button <b>Select Pattern</b> click on that and select your pattern i.e for horizontal choose either 3rd or 8th 9th etc.
or u can also choose the frames next to it.
hope this helps,
do reward if it helps,
priya.
2006 Jul 24 6:43 PM
Hi Priya,
When i Select select Pattern its not showing anything, it kust opening a blank window.
Thanks,
Ramesh
2006 Jul 24 7:00 PM
Hi Ramesh,
In the window output options you have option of check box to get lines.
Then you need to give the spacing for vertical and horizontal.
Another option is putting a template on window and getting the boxes, but it is quite little bit complex.
Put the cursor on the WINDOW in which the lines you want.
Right click on it>create>complex section.
In that select the TEMPLATE radio button.
Goto TAB TEMPLATE.
Name: give some name of line.
From: From coloumn.
To: To coloumn
Height: specify the height of the line.
Next give the coloumn widths.
Like this you can draw the vertical and horzontal lines.
If the above option doesnot workout then u can try the below option also
any how you can draw vertical and horizontal lines using Template and Table.
for Template First define the Line and divide that into coloumns and goto select patterns and select the required pattern to get the vertical and horizontal lines.
For table, you have to divide the total width of the table into required no.of columns and assign the select pattern to get the vertical and horizontal lines.
if this helps, reward with points.
Regards,
Naveen
2006 Jul 24 7:03 PM
Hi Naveen,
Thank you very much for reply, but the thing is i don't have this option complex section when right on the window. what would be the problem?
Thanks,
Ramesh
2006 Jul 24 5:48 PM
Hi,
Frames, Lines and shading
Back to SapScript menu
BOX
Draws a box
Syntax:
/: BOX
The intensity is the grey scale of the box as %. The frame parameters is the thickness of the frame. Default is 0.
Each of the paramteters ypos, xpos, width, height and frame muts be followed of the measurement unit:
· TW (twip)
· PT (point)
· IN (inch)
· MM (millimeter)
· CM (centimeter)
· LN (line)
· CH (character).
Examples:
/: BOX XPOS '11.21' MM YPOS '5.31' MM HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW
/: 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 shading 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.
reward with some points if helpful.
regards,
keerthi.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |