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

How to draw vertical lines in SMART FORMS

Former Member
0 Likes
2,124

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,542

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

Read only

0 Likes
1,542

Hi Priya,

I think this BOX command won't work in SMART FORMS.

Thanks,

Ramesh

Read only

0 Likes
1,542

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.

Read only

0 Likes
1,542

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

Read only

0 Likes
1,542

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.

Read only

0 Likes
1,542

Hi Priya,

When i Select select Pattern its not showing anything, it kust opening a blank window.

Thanks,

Ramesh

Read only

0 Likes
1,542

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

Read only

0 Likes
1,542

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

Read only

Former Member
0 Likes
1,542

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.