Screen Change commands based on Screen IDs

You can insert commands for opening screens before or after the current screen open, based on a map determined by the value of the "ID" property of each screen. Two commands, "Open Next (open as normal next ID screen)" and "Open Prev. (open as normal prev. ID screen)" have been provided for this purpose in the "Screen" Group from the Command List.

To insert a screen onto the scrolling  map, it will need to have the ID value greater than zero. If the ID is equal to zero, the screen will be excluded from this navigation. Normally the ID value is left at zero for those screens to be excluded from the navigation such as those used inside objects as Embedded Screens or TAB Groups (page footers or headers).

You must also take into account that these navigation commands do not have effect if they are used when a screen is active with its ID set at zero. In addition to this, screens will open in  "Normal" mode only  and not  in "Modal" or "Frame" mode.

 

These navigation commands are not supported outside the screen context.  For instance, they cannot be used from menus, accelerators, event objects, schedulers, etc.

 

The screen map is based on the screens' IDs and created by Movicon the first time a command of this type is executed. The screen pages are  scrolled in sequence to their ID numbers. If the screen IDs are modified or other screens are added or removed during application runtime, the map will become obsolete and recreated again.

These screen navigation commands are also supported in Web Client and can be extended to child project screens.

 

When a the screen with the lowest ID number is open, the "Open Prev." command will not do anything. This also goes for the "Open Next" command when the screen with the highest ID number is open.

 

Screens with the same ID number will  be inserted on the list at random only. This condition should be avoided and considered a planning error.

 

 

See Also