HTML_CustomComboBox Class

This class is designed to support web toolkits that implement highly customized comboboxes (e.g., those that use <div> or <span> elements rather than the standard <select> element) in extensions. The API is similar to the one for the HTML_Select Class. This class inherits the HTML_FormElement Class which inherits the HTML_Object Class.

See Combobox Support for how to add support for custom comboboxes.

Boolean HTML_CustomComboBox.hasOption(option)

This function returns true if the combobox contains the given option.

String HTML_CustomComboBox.selectedOption

This read/write property holds the currently selected option's text.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.

Search Results