Flow Control in a Scrollable Region

The scrollable region is an item on the form. The fields in the scrollable region are processed only when the scrollable region is the active item.

Extra control variables are required when processing fields in a scrollable region. The form editor maintains the current data row and data column within the scrollable region in the scrollable region structure.

Figure 29.2 illustrates the flow of editing in a scrollable region. The form editor takes care of scrolling the region when the user moves to a row that is not currently visible on the form. The field contents of any row that is scrolled off the visible region are converted to the proper type of data variable and stored in the underlying data variable.









Figure 29.1: Flow control: Editing a Field




Figure 29.2: Flow Control: Editing a Scrollable Region

Processing fields within the scrollable region takes place until the system detects that processing of another item or leaving the form has been requested. The system determines this by checking the next item offset in the form structure, as it does when processing data and memo fields.


Home Contents Previous Next