Application Development 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: 

window screen

Former Member
0 Kudos

hi experts

how to increase the window screen length in dialog programming while designing.

Thanks in advance.

Regards

Rajaram

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

u just goto the layout drag the window at right-bottom corner.

u can increase the size.

we can increase the length in bottom and right directions only.

rgds,

bharat.

4 REPLIES 4

Former Member
0 Kudos

HI,

u just goto the layout drag the window at right-bottom corner.

u can increase the size.

we can increase the length in bottom and right directions only.

rgds,

bharat.

former_member198275
Active Contributor
0 Kudos

Have u checked the TAB calles element list?

former_member198275
Active Contributor
0 Kudos

Have u checked the TAB called element list?

Former Member
0 Kudos

Hello,

Use WINDOW

Basic form

<b>WINDOW STARTING AT x1 y1.

Addition:

... ENDING AT x2 y2</b>

Effect

Displays the current secondary list as a modal dialog box (see CALL SCREEN). The same rules apply as for displaying a list.

The left upper edge of the window is positioned at column x1 and line y1 (y1 must be greater than zero, so that a dialog box appears instead of the full screen).

You can use variables to specify the coordinates.

All the functions for secondary lists are supported. These include:

Scrolling in the window.

Hiding field contents (see HIDE).

Line selection in the window (see AT LINE-SELECTION, ...)

Setting the window title (see SET TITLEBAR)

Addition

... ENDING AT x2 y2

Effect

Positions the right lower edge of the window in column x2 and line y2.

You can use variables to specify the coordinates.

Example

Define a window covering columns 1 to 79 and lines 15 to 23:

<b>WINDOW STARTING AT 1 15

ENDING AT 79 23.

WRITE 'Text'.</b>

Inserts a window on the normal screen.

You can insert the windows described above only within the context of list processing, i.e. not until after an interactive event (see AT LINE-SELECTION).

You can use the technique shown in the example below to insert a window containing a list during a dialog (see CALL SCREEN).

Example

Display a list as a modal dialog box:

<b>CALL SCREEN 100. "Screen of modal dialog box type

  • STARTING AT 10 10 "... can be started as

  • ENDING at 60 15. "... separate window with

  • "... these additions</b>

In the flow logic of the screen 100, the processing branches to list processing in the PBO (Process Before Output) module (see LEAVE TO LIST-PROCESSING).

<b>Flow logic:</b>

PROCESS BEFORE OUTPUT.

MODULE LIST.

<b>Program:</b>

MODULE LIST OUTPUT.

LEAVE TO LIST-PROCESSING

AND RETURN TO SCREEN 0.

PERFORM OUTPUT. "Output list

LEAVE SCREEN.

ENDMODULE.

Regards,

LIJO