2007 Jun 19 7:06 AM
how can we draw lines like grid or vertical/horizontal lines In Smart forms for output.
give with example.
do the needful.
Regards
shan
2007 Jun 19 7:14 AM
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
2007 Jun 19 7:14 AM
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
2007 Jun 19 7:15 AM
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.
2007 Jun 19 7:28 AM
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
2007 Jun 19 7:33 AM
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..
2007 Jun 19 7:37 AM
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