Method XbpCombobox():listBoxFocus() Foundation

Sets or returns whether the list box of the combo box currently has input focus.

:listBoxFocus( [<lFocus>] ) --> lOldFocus
<lFocus> is an optional logical value. If .T. (true) is specified, the list box receives the input focus and is dropped down if necessary. If it is .F. (false), the list box is closed unless the :typeinstance variable is equal to XBPCOMBO_SIMPLE.

This method returns a logical value indicating whether the list box portion of the combo box had input focus before the method was called.


The :listBoxFocus() method allows the focus to be moved from the entry field to the list box. Normally this is only necessary in classes derived from XbpCombobox that alter the default behavior of the combo box.


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.