ComboBox

From REALbasicWiki

Jump to: navigation, search

Contents

[edit] Description

A combobox is a control that combines a dropdown menu and an editfield. Selecting an item from the menu displays it in the editfield.

[edit] Superclass

ComboBox inherits from Object

[edit] Interfaces

None

[edit] Usage

If the combobox's Autcomplete property is True, typing in the editfield will select a matching menu item if one exists, however this does not fire the combo's Change event.

Selecting an item from the menu fires both the Change event and the TextChanged event.

[edit] Platform differences

On Windows, an Autocompleting combobox (Autocomplete = True) will always display the dropdown menu. This occurs even if True is returned in the combo's MouseDown event. This is not the behavior on OS X.

If Autocomplete is False, no dropdown menu is displayed when MouseDown returns True.

Personal tools
related