Close custom context menu after clicking on any item in it


#1

Is it possible to close my custom context menu after clicking on any item inside it.

thanks.