Classes

Member variable XbpListBox():multiColumn Foundation

Determines whether items in the list box are displayed in multiple columns

Attribute: EXPORTED
Data type: Logical (.F.)
Description

By default the instance variable :multiColumn contains the value .F. (false). This means that the listbox displays its items in a single column. If the instance variable is set to .T. (true), items are displayed in multiple columns that can be scrolled horizontally. The vertical scrollbar is automatically hidden and the instance variables :vertScrolland :horizScroll are ignored.

If :addItem() is used to add an item to the list box, the element is appended to the end of the list. However, if the list box object is configured to use multicolumn-mode (:multiColumn is .T.), list elements are added column-by-column. After all elements of a column have been added, the next list item is inserted into the next column to the right. Instead of growing towards the bottom of the display, a multi-column list box object grows towards the right. The number of items per column is defined by the horizontal space available.

Multi-column mode is not supported for the list box part of an XbpCombobox 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.