Copyright 2024 - BV TallVision IT

... when creating a screen. Screen painter basics for setting up a screen. Checkboxes, radio buttons, frames, loops and subscreens.

Checkbox and radiobutton

A check box (a square with a cross) in a DYNPRO behaves like a variable of the type CHAR 1 with value SPACE or "X" ("x" can be used as well, dependent on how the checkbox appear on the end user's screen. To indicate a checkbox, a field (of type CHAR 1) has to be changed into a checkbox with the screen painter first. This can be done with button "graphical elements" in the screen painter. A checkbox normally has a text field with the same field name as the checkbox field. If the end user clicks the accompanying text instead of the checkbox itself, the checkbox reacts to this.

Radio buttons are circles with a dot; they behave like checkboxes, but they dependent on other radio buttons. There is always more than 1 radio button: a choice has to be made from "one of the following": not none, not three but exactly one. Completion in the DYNPRO: like a checkbox, but radio buttons have to be grouped (mark => graphical elements => (indicate end) mark group).

Frames

A DYNPRO can be decorated with a frame, a box or square of lines. How to make a frame: type in a text in the full screen editor (now you have a text field), go to graphical elements and frame the text. The text appears above the frame on the left hand side. By marking the end of the frame the frame can be dragged to the right size.

Loops

To represent data in table format in a DYNPRO, LOOPs have to be used. Mind the flow logic that should come with the loop. A LOOP can be indicated in the full-screen editor by positioning the cursor on the first line of the LOOP-data and pressing the LOOP button. Next the end of the LOOP has to be indicated. The indicated fields will be repeated until the end of the LOOP.

Variable LOOP counting is possible as well: the number of loops depends on the size of the end-user's window.

Subscreen

A subscreen in a DYNPRO is an area that contains no fields, it's is reserved for a SUBSCREEN. Select the menu option Processing => Subscreen in the menu painter. A subscreen has a name that is referred to in the flow logic.