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

TCustomComboBox.CloseUp

Called when the drop-down list is closed.

Declaration

Source position: stdctrls.pp line 362

protected procedure TCustomComboBox.CloseUp; virtual;

Description

CloseUp is a method called whenever the drop-down list for the control is closed. CloseUp is called when a CN_Command message with a CBN_CLOSEUP notification code is received in the control.

CloseUp does not perform any actions in the method at design-time, when the component is being loaded using LCL streaming, or when the control is freed.

CloseUp signals the OnEditingDone event handler when an edit box is enabled in the Style property in the control. The OnCloseUp event handler is signalled (when assigned).

When AutoSelect is enabled, the SelectAll method is called and the AutoSelected property is updated.

See also

TComboBox.OnEditingDone

  

Event handler signalled when editing is completed for the control.

TCustomComboBox.OnCloseUp

  

Handler invoked when the drop-down list closes.

TCustomComboBox.DroppedDown

  

Indicates whether the drop-down list has been displayed.

TCustomComboBox.DropDown

  

Signals the OnDropDown event handler.

TCustomComboBox.Style

  

Controls the appearance and behavior for the combo-box.

TCustomComboBox.SelectAll

  

Selects the text content in the edit box for the control.

TCustomComboBox.AutoSelect

  

Selects the entire content of the edit box when the control receives the focus.

TCustomComboBox.AutoSelected

  

True indicates that the selection was marked automatically by the control.


Version 3.2 Generated 2024-02-25 Home