ClearContextMenu
Clears the content of Context Menu List (filled up with items from Context menu. The content of this list can be taken from script by GetContextMenu) method.
Can be used to parse context menu items (f.e. to identify gray items etc), to check when new requested context menu coming (but i recomend to use event evContextMenu)
Pascal
procedure ClearContextMenu;
Python
ClearContextMenu()