Member variable XbpBrowse():navigationMode Foundation

Sets the navigation mode.

Attribute: EXPORTED
Data type: Numeric (XBPBRW_NAVIGATION_SYSTEM)
Description

The mode set using the :navigationMode instance variable controls the way the XbpBrowse object handles navigation within the data source. By default, :navigationMode contains the constant XBPBRW_NAVIGATION_SYSTEM which specifies a navigation mode compatible to that used on the underlying platform.

:navigationMode is a compatibility setting which allows to enable the behavior used in older Xbase++ versions. Most notably, in versions up to Xbase++ 1.9 scrolling the data area of the browse always moved the cell or row cursor. If the vertical scroll bar was used to scroll invisible rows into view, the browse cursor was moved as well so that it always remained visible. This is no longer the case in newer Xbase++ versions. Instead, the browse cursor remains on the current cell or row and can be scrolled outside the visible region.

If the previous behavior is required in an Xbase++ application, this behavior can be reenabled by assigning the constant XBPBRW_NAVIGATION_1XCOMPATIBLE to the :navigationMode instance variable prior to creating the browse 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.