Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomDropDownEditProperties.OnCloseQuery Event

In This Article

Occurs before closing the popup window.

#Declaration

Delphi
property OnCloseQuery: TCloseQueryEvent read; write;

#Remarks

The OnCloseQuery event is generated when the popup window is about to close. It is generated when a user clicks the close (x) button on the system panel in the popup or when setting the ModalResult property of the popup form to a value other than mrNone. To display the popup system panel you have to set the PopupSysPanelStyle property to True.

The CanClose parameter specifies whether the popup can be closed. Set it to False to prevent the popup window from closing. The Sender parameter identifies the edit control which generates the event.

Use the OnCloseUp event to perform specific actions when the popup window is closed.

See Also