Skip to Content
author's profile photo Former Member
Former Member

STARTING AT col1 lin1 [ENDING AT col2 lin2]

Hi,

what is the height and what is the length of called screen at this

statement. I'm, really confused.

regards

sas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 17, 2008 at 05:27 PM

    Col1 would be the starting point of the width, and lin1 would be starting line. Col2 would be the end point of the width, and line2 would be the end line.

    So if you specify STARTING AT 1 1 ENDING AT 50 10 then the screen would be begin in column 1 of the screen and on line 1, and end in column 50, and end on line 20.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 08:12 PM

    Hi,

    Calling a single screen is a special case of embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely, you can use the CALL SCREEN statement with the STARTING AT and ENDING AT options:

    CALL SCREEN <scrn>

    STARTING AT <X1> <Y1>

    ENDING AT <X2> <Y2>.

    This calls the screen number <scrn> as a modal dialog box. When the screen is displayed, the screen that had called it is visible but inactive. The STARTING AT and ENDING AT additions specify the top left-hand and bottom right-hand corners of the dialog box respectively. In the screen attributes of screen <scrn>, you must set the Modal dialog box attribute. This defines how the interface elements are positioned on the screen.

    Ex.

    CALL SCREEN 200 STARTING AT 45 5

    ENDING AT 95 22.

    Regards,

    Bhaskar

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.