Navigation: ABC Library Reference > BrowseClass > BrowseClass Methods >====== ApplyRange (refresh browse based on resets and range limits) ====== | |
ApplyRange, VIRTUAL, PROC
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