Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

Context Menus

The SftDirectory control has built-in support for complete context menus, based on the currently selected file/folder(s). Context menus are available for all control styles. Combo box style controls support context menus in the drop down portion only.

Context Menu

The ShowContextMenu property defines whether a context menu is shown when the right mouse button is released or Shift-F10 is pressed.

The control's ContextMenu method displays the context menu for all selected file/folders. The Folder.ContextMenu method displays a context menu for one file/folder.

The ContextMenu event occurs when the right mouse button is released or Shift-F10 is pressed requesting a context menu. An application can display its own context menu in response to this event or simply allow the built-in context menu to be displayed and processed.

The ShowingContextMenu event occurs when the context menu is about to be shown. It allows an application to inspect the menu using the provided menu handle.


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.