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

script

Former Member
0 Likes
346

how to draw a single line using box

3 REPLIES 3
Read only

Former Member
0 Likes
322

hi hasmath

/: BOX HEIGHT 0 TW FRAME 10 TW

Draws a horizontal line across the complete top edge of the window.

another ex:

/:BOX XPOS 1 CM YPOS 1 CM WIDTH 10 CM HEIGHT 0 TW FRAME 10 TW

hope this helps,

do reward if it helps,

priya.

Message was edited by: Priya

Read only

Former Member
0 Likes
322

Hai

Check the following Statements

/: BOX FRAME 20 TW INTENSITY 10

/: ADDRESS

/: COUNTRY 'IN'

/: ENDADDRESS

Regards

Sreeni

Read only

Former Member
0 Likes
322

Hi hasmath,

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.