Home page  
Help >
Fixed Scrolling Region
Version 7.11
Fixed Screens with a Scrolling Region

Fixed screens show one record at a time. But in the case of the fixed screen with the scrolling region, not all of the fields are visible at once. The user has to scroll through the region to see all of the fields for a single record. Just like a regular fixed screen, when you are viewing a subset (more than one record) there should be a VCR control defined in the screen so that you can navigate, that is, easily get to the Next record, Previous record, First record, or Last record.

The following screen is just an illustration, the screen controls are not live. To see this screen for real try PROCESSES/DATA ENTRY/CUSTOMERS/VIEW. Make sure that the "Screen Preference" setting is on "Fixed w/ Scrolling".






















The first two Transfer Fields are in the fixed part of the screen, and the others are in a region that can be scrolled through using the vertical scroll bar.

The Transfer Fields came from the def-specific palette just like when you are defining a regular fixed screen, it is just that the ones in the scrolling region are dropped into a secondary Frame that constitutes the content of the scrolling region when the screen is in use. See the definition of the above screen on the next page.

The "Sales" button is a Procedure Text Button that when pressed triggers a procedure. The "Sort" button is from the Power Button Palette, it's function is known and standard so no code was written for it by the person who defined this screen. The OK and Cancel buttons come from the def-specific palette.

The VCR control could have come from the def-specific palette, but this one did not. There is a alternate method for getting VCR controls, and that is from the Frame properties. In the Frame properties, which is where you ask for the Scrolling Region (by checking a box), you can also ask for vertical and horizontal scroll bars, and in particular, you can ask for a VCR control to be part of the horizontal scroll bar.

The definitionof the above looks like:






















The
Secondary


Frame:

























Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.