User Tools

Site Tools


applyrange_refresh_browse_based_on_resets_and_range_limits_.htm
Navigation:  ABC Library Reference > BrowseClass > BrowseClass Methods >====== ApplyRange (refresh browse based on resets and range limits) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

ApplyRange, VIRTUAL, PROC

blk2blue.jpg

The ApplyRange method checks the current status of reset fields and range limits and refreshes the browse list if necessary. Then it returns a value indicating whether a screen redraw is required.

The inherited AddRange method adds an associated range limit for each sort order. The AddResetField method establishes reset fields for each browse sort order.

Implementation:

The ApplyRange method returns one (1) if a screen redraw is required or zero (0) if no redraw is required.

Return Data Type:     BYTE

Example:

IF BrowseSt.ApplyRange()           !refresh browse queue if things changed

 DISPLAY(?StList)                  !redraw LIST if queue refreshed

END

See Also:     AddResetField, ViewManager.AddRange

applyrange_refresh_browse_based_on_resets_and_range_limits_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1