Back to Devexpress

TcxCustomDropDownEdit.CloseUp(TcxEditCloseUpReason) Method

vcl-cxdropdownedit-dot-tcxcustomdropdownedit-dot-closeup-x28-cxedit-dot-tcxeditcloseupreason-x29.md

latest1.7 KB
Original Source

TcxCustomDropDownEdit.CloseUp(TcxEditCloseUpReason) Method

Closes the editor’s drop-down window.

Declaration

delphi
procedure CloseUp(AReason: TcxEditCloseUpReason); virtual;

Parameters

NameTypeDescription
AReasonTcxEditCloseUpReason

The reason for the drop-down window close operation.

The editor applies or discards pending content changes based on the selected reason.

|

Remarks

Call the CloseUp procedure and pass the required reason for the window close operation to close the drop-down window.

The CloseUp procedure applies pending content changes to the edit value if you pass crTab, crEnter, or crClose as the AReason parameter. Refer to the TcxEditCloseUpReason type description for detailed information on all available options.

Note

A CloseUp procedure call has no effect if the CanHide function returns False.

See Also

TcxCustomDropDownEdit.DropDown Procedure

TcxCustomDropDownEdit.PopupWindowClosed Procedure

TcxCustomDropDownEdit.PopupWindowClosing Procedure

TcxCustomDropDownEdit Class

TcxCustomDropDownEdit Members

cxDropDownEdit Unit