[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.

See also

TCustomComboBox.Style

  

Appearance and behavior of the combo-box.

TCustomComboBox.KeyDown

  

Filters keys used to traverse the list.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.