Method XbpListBox():setTopItem() Foundation
Sets the first item visible at the top of the list box.
:setTopItem( <nPos> ) --> lSuccess
This method returns the value .T. (true) when the first item visible in the list box could be set, otherwise it returns .F. (false).
The :setTopItem() method allows the first item in the display window of the XbpListbox object to be defined. This is used to explicitly scroll the list to ensure the specified item is visible.
Note that the list box may not be able to scroll sufficiently to display the item at the top of the list. This is because scrolling is limited to the maximum scroll range and hence it is not possible to display the last item at the top, for example.
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.