ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellTree.ShowContextMenu

Show the context menu for the selected node.

Syntax
Pascal
function ShowContextMenu(const p: TPoint): String;
Parameters 
Description 
const p: TPoint 
The point where the context menu should be shown. 

Name of the command, which has been executed. For more information, see TShellBrowser.ShowContextMenu.

Use this method to show the shell context menu for the selected folder. The context menu will be shown automatically if the ShellContextMenu property is true. p is the screen position, where the context menu should be displayed. You can use the PopupMenu property to append your own menu items to the shell context menu.  

See the topic TJamShellList.ShowContextMenu for an example.