dropDown

dropDown(combobox: ComboBox input): Boolean;

The dropDown event occurs when the list portion of a ComboBox control is about to drop down. It does not occur if the style property of a combo box is set to Style_Simple (1).

The dropDown event returns the values listed in the following table.

Return Value Action
True Opens a drop-down list
False Ignores the drop-down request

Use a dropDown event to make final updates to a combo box list before the user makes a selection. This enables you to add or remove items from the list, by using the addItem or removeItem methods. This flexibility is useful when you want some interplay between controls; for example, if what you want to load into a combo box list depends on what the user selects in an option button group. See also the closeDropDown, isDroppedDown, and showDropDown methods.