Application Development 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: 

smartforms

Former Member
0 Kudos
142

how can we draw lines like grid or vertical/horizontal lines In Smart forms for output.

give with example.

do the needful.

Regards

shan

1 ACCEPTED SOLUTION

Former Member
0 Kudos
121

Hi Shan,

You can use BOX command to draw horizontal and vertical lines apart from creating boexs by assigning 0(zero) to either WIDTH or HEIGHT.

To draw a horizontal line,

/: BOX XPOS '5' CM YPOS '5' CM WIDTH '5' CM HEIGHT '0' CM

To draw a vertical line,

/: BOX XPOS '5' CM YPOS '5' CM WIDTH '0' CM HEIGHT 50' CM

If you want to draw a BOX with the help of horizontal and vertical lines, it will take 4 statements to construct a BOX and to change a dimenisioality in BOX needs some changes to be done to the respective horizontal and vertical lines too.

So it not advisible to draw a BOX with the help of horizontal and vertical lines. Directly use a single BOX statement to construct a BOX.

reward points if useful

reena

5 REPLIES 5

Former Member
0 Kudos
122

Hi Shan,

You can use BOX command to draw horizontal and vertical lines apart from creating boexs by assigning 0(zero) to either WIDTH or HEIGHT.

To draw a horizontal line,

/: BOX XPOS '5' CM YPOS '5' CM WIDTH '5' CM HEIGHT '0' CM

To draw a vertical line,

/: BOX XPOS '5' CM YPOS '5' CM WIDTH '0' CM HEIGHT 50' CM

If you want to draw a BOX with the help of horizontal and vertical lines, it will take 4 statements to construct a BOX and to change a dimenisioality in BOX needs some changes to be done to the respective horizontal and vertical lines too.

So it not advisible to draw a BOX with the help of horizontal and vertical lines. Directly use a single BOX statement to construct a BOX.

reward points if useful

reena

Former Member
0 Kudos
121

hi,

to get the grid lines on the output just do like this,

go to table options at the main window option of the page,

select table tab,

at the details box we can find the grid, grid lines button ,

u can press them and save your smartform.

now in output main window u can get the grid lines if i think right.

reward points if useful,

regards,

seshu.

Former Member
0 Kudos
121

Hi,

You create a template then select the pattern for the same as per your requirment or create a table then within that you can create a table type and assign the pattern for the same

Regards

Shiva

Former Member
0 Kudos
121

Hi Shan,

The requirement is simple to achieve to the horizontal and vertical lines in any window or main window.

For the window: In the output options tab you can use the "BOX AND SHADING" to draw the box.

Here you can also select any line of your choice (top horizontal, botton horizontal, left vertical or right vertical).

For the main window: The addition would be the availability of "SELECT PATTERN" in the tab "TABLE".

Using this the grid can be drawn.

Hope this solves your query.

Reward Points if useful.

Thanks,

Tej..

Former Member
0 Kudos
121

it's easy . to select main window and click output options to click template and select the choosed lines and check and active the lines are displayed.

put the points to my answered question