TcxCustomDropDownEdit.CanDropDown Method
Determines whether the popup window can be opened.
Declaration
function CanDropDown: Boolean; virtual;
Returns
Type |
---|
Boolean |
Remarks
TcxCustomDropDownEdit descendants override this function to provide specific conditions when the popup window cannot be opened. The popup window is opened only if the CanDropDown function returns True.
When a user tries to open the popup window, the OnInitPopup event occurs and the CanDropDown function is called. If it returns True, the editor generates the OnPopup event and displays the popup window. If the function returns False, the popup window is not displayed and the OnPopup event is not generated.
See Also
TcxCustomDropDownEdit.CanDropDown