ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TShellControlHelper.ClonePopupMenu

Creates a copy of a given popup menu.

Syntax
Pascal
class function ClonePopupMenu(pPopupMenu: TPopupMenu; var pMenuAnchor: TMenuItem): TPopupMenu;
Parameters 
Description 
pPopupMenu: TPopupMenu 
The TPopupMenu that should be cloned. In case this paramter is nil, an empty TPopupmenu will be returned. 
var pMenuAnchor: TMenuItem 
A specific menu item that should be tracked when copying the menu. The copy of the given menu item will be returned in this paramter. Pass nil if not needed. 

TPopupMenu: A copy of the popup menu givenn in pPopupMenu, the result will never be nil at least an empty TPopupMenu will be returned.