Method XbpCombobox():listboxSize() Foundation

Returns the size of the Listbox part of the Combobox.

:listboxSize( [<aSize>] ) >= <aOldSize>
<aSize> := { nXSize, nYSize }
<aSize> contains an array with two elements defining the width and height, respectively, of the drop-down component of a combo box object.

This method returns an array of two elements: { nXsize, nYsize }. This array contains the x and y dimensions of the listbox part of the window.


The :listboxSize() method returns the size of the listbox part of the combobox in pixels. To change the size of the listbox part, an array must be assigned to the <aSize> parameter. Changing the size of the listbox is supported only for combo boxes of type XBPCOMBO_DROPDOWN and XBPCOMBO_DROPDOWNLIST.

The height of the drop-down element is defined by the system depending on the overall object height and cannot be changed. Element <nYSize> of the array in parameter <aSize> is ignored.


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.