Method XbpListBox():getData() Foundation

Returns the selected items in the list box.

Syntax
:getData() --> aItemPos
Return

This method returns an array containing the numeric indexes of the items selected in the list box. If no items are marked, an empty array is returned.

Description

The method :getData() returns the items that are currently marked in the list of the XbpListBox object. The numeric indexes of all items marked are returned in an array. If a code block is contained in the instance variable :dataLink, this data code block is executed and the array is passed as an argument.

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.