TcxCustomDropDownEdit.CloseUp(TcxEditCloseUpReason) Method
Closes the editor’s drop-down window.
Declaration
procedure CloseUp(AReason: TcxEditCloseUpReason); virtual;
Parameters
Name | Type | Description |
---|---|---|
AReason | TcxEditCloseUpReason | 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