Member variable XbpBrowse():lastPosBlock Foundation

Code block returning the upper linit for the vertical scroll bar

Attribute: EXPORTED
Data type: Code block
Description

A code block must be assigned to the instance variable :lastPosBlock. It returns a numeric value that indicates the upper limit of the values processed by vertical scroll bar. The instance variable is only used to configure the vertical scroll bar. When databases are browsed, the code block is normally {|| LastRec() }.

The vertical scroll bar is displayed by an XbpScrollBar object. The range of values that can be processed, or scrolled, is limited by the operating system. If the number of records in a database exceeds the upper limit of an XbpScrollBar object, this number must be scaled to match the maximum value recognized by an XbpScrollBar object.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.