06-19-2006 3:18 PM
Hello experts,
I am presently having a problem on why my statement &ULINE& does is always shorted than the width of my MAIN window no matter what I do. So now I want to experiment on how to write a horizontal line without using the ULINE statement. By the way, the width of my MAIN window is 78 CH. A while ago I experimented with the length of the uline but no matter what length I gave it its always shorter than the width of my main window.
Again, thank you guys for your time and take care!
06-19-2006 3:20 PM
Hi Viraylab,
The <b>&ULINE(X)&</b> may solve your problem.
Specify proper value for X which can fill your main window length.As you specified that your main window size as 78,try &ULINE(78)&.
Without using ULINE,then you need to write your line with some dashes which fits main window length.
Try as follows in your layout
<b>/: -
</b>
But this is not advisable.
Thanks,
Vinay
06-19-2006 3:20 PM
Hi Viraylab,
The <b>&ULINE(X)&</b> may solve your problem.
Specify proper value for X which can fill your main window length.As you specified that your main window size as 78,try &ULINE(78)&.
Without using ULINE,then you need to write your line with some dashes which fits main window length.
Try as follows in your layout
<b>/: -
</b>
But this is not advisable.
Thanks,
Vinay
06-19-2006 3:23 PM
Hi,
As i've said in my post, the statement &ULINE& is not working properly since no matter what length I give it is always shorter than the width of the MAIN window...
06-19-2006 3:23 PM
hi Viray,
Use this statement
Draws a horizontal line across the complete top edge of the window.
<b>/: BOX WIDTH 0 TW FRAME 10 TW</b>
Regards,
Santosh
06-19-2006 3:30 PM
Hi,
Horizontal line can be inserted using BOX command by keeping the height as 0. Imagine Horizontal line as a box height 0 and with a specified width.
So the syntax will be
<b>BOX WIDTH 12 CM HEIGHT 0 CM FRAME 10 TW INTENSITY 1.</b>
Regards,
SP.
06-19-2006 3:35 PM
Use BOX command and use position to place it in window.
take care of x and y coordinates and make sure that they r in correct position.
06-19-2006 3:22 PM
HI Viraylab,
I think the paragraph format you are using is having some indentation (Some space in front of the line starting and end of the line).
Create a new paragraph format which doesn't have any space in front of the line and at the end of the line.
Regards,
Ravi
06-19-2006 3:26 PM
use below for horiizontal line
/: POSITION XORIGIN '2.0' CH YORIGIN '60.2' LN
/: SIZE WIDTH '75.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
use below for vertical line.
/: POSITION XORIGIN '2.0' CH YORIGIN '60.2' LN
/: SIZE WIDTH '75.0' CH HEIGHT '0' LN
/: BOX FRAME 10 TW
rgds,
TM