ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamShellTree.ShowContextMenu Method

Show the context menu for the selected node.

Syntax
Pascal
function ShowContextMenu(const p: TPoint): String;

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.  

 

Copyright (c) 2011. All rights reserved.