[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.DroppedDown

Indicates whether the drop-down list has been displayed.

Declaration

Source position: stdctrls.pp line 419

public property TCustomComboBox.DroppedDown : Boolean
  read GetDroppedDown
  write SetDroppedDown;

Description

DroppedDown is a Boolean property which indicates whether the drop-down list for the control has been displayed.

Reading the value for the property causes the widgetset class to be queried when a handle has been allocated for the control. Otherwise, the stored value for the property is used.

Setting a new value for the property causes the widgetset class to be notified of the changed property value. No actions are performed if a handle has not been allocated for the control, or during LCL component streaming. Setting this property opens or closes the drop-down list.

The value in DroppedDown is maintained when the Style for the control is altered, when CBN_DROPDOWN or CBN_CLOSEUP control messages are handled, and when key down events are handled which change the visibility of the drop-down list.

Remark: For the macOS Carbon widgetset, setting DroppedDown to True does not cause the drop-down list to be displayed when Style is set to csDropDownList.

See also

TCustomComboBox.Style

  

Controls the appearance and behavior for the combo-box.

TCustomComboBox.KeyDown

  

Filters keys used to traverse the list.

TComboBoxStyle

  

The display style available for combo-box controls.


Version 3.2 Generated 2024-02-25 Home