Skip to Content
avatar image
Former Member

Positioning box in Main Window

I have a main window (Sapscript) with multiple text elements as follows:

<Start Text Element1>

Include statement with varying text length

<End Text Element1>

<Start Text Element2>

Include statement with varying text length

<End Text Element2>

<Start Text Element3>

I need a box to appear here with item header. ****

<End Text Element3>

How can I position the box in the 3rd text element section ? The text appearing in Text Element1 & Text Element2 are not fixed in length. I will not know where text element 3 starts.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 31, 2007 at 03:39 AM

    Use

    BOX <XPOS> <YPOS> <WIDTH> <HEIGHT> <FRAME> to draw a box.

    Regards,

    SaiRam

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 31, 2007 at 07:27 AM

    Hi

    Use &VLINE& field between the element 2 & 3......

    wt ever the length it will draw the line in between 2 & 3 element ......

    Reward if helpful...

    Thnx

    Rohit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2007 at 08:31 AM

    hi

    see the Data Element of fields u displaying in Text Element 1 & 2,

    then left space for max possiable character

    then define a BOX write ur item Header in this box.

    for creation of BOX use command as given above reply.

    reward if helpful.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 31, 2007 at 10:32 AM

    Hi...

    You can do like this.

    BOX XPOS YPOS WIDTH 10 CM HEIGHT 10 CM

    INCLUDE TEXT

    INCLUDE TEXT

    INCLUDE TEXT.

    Here, you need to change your XPOS and YPOS accordingly

    So that your Third text will be fit in the Box.

    Regards

    Sandeep Reddy.

    Edited by: Sandeep Reddy on Dec 31, 2007 11:34 AM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      As I had mentioned, the text that shows up in Element 1 and Element 2 is not fixed. I cannot decide the XPOS and YPOS of the box, as number of lines in the above elements can vary.

      Guess, I will have to do away with the boxes and use lines.

      Thanks for all your input.