FAQ & Knowledge Base

Welcome to our Knowledge Base. Search or browse through the topics below to find answers to your questions.

Categories: ShellBrowser Delphi Components | Show all categories

Customize context menu

Question / Problem

Can I add custom menu items to the shell context menu?

Answer / Solution

You cannot write context menu handlers that will work with Windows Explorer using ShellBrowser.

However you can customize the context menu that will be displayed in the ShellBrowser controls, e.g. the TJamShellList:

  • Add a TPopupMenu and implement the actions to be taken
  • Select your custom PopupMenu in the "PopupMenu" property of the TJamShellList
  • Set the "ShowContextMenuOnTop" property to show your custom entries above or below the normal shell context menu's entries.