treecombobox OnCloseUp event
Return to Introduction  Previous page  Next page
Applies to
acTreeComboBox component.  

  TacDropDownCloseUpEvent = procedure(Sender: TObject; Accept: Boolean) of object;  
property OnCloseUp: TacDropDownCloseUpEvent;  

The OnCloseUp event occurs when the drop-down window is about to disappear from screen.  
The Accept parameter indicates whether the tree node has been selected by user or the drop-down window has been closed without selection (i.e: user has clicked somewhere else and moved the input focus to another control). When Accept is True, user has selected the node, otherwise — just canceled the drop-down window.  

See also
OnDropDown, OnAfterDropDown and OnCanSelectNode events.