Back to product page

ContextMenu property


Determines context menu that are shown.

Type

A Long value. HMENU value for context menu.

Syntax

  • Basic
object.ContextMenu [= value]
The ContextMenu(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFtpDLX.
valueA Long value.

Remarks

Available only in ActiveX (GUI) version!

This property determines ContextMenu that will be shown on right-click in wodFtpDLX window. Internally, wodFtpDLX has 3 predefined menus - one for right-click to background, one for right-click to folder, and last one for right-click to file. You can change this value by setting different value in ContextMenu property, using value returned by LoadMenu API call.

Following are predefined context menu items and their values:

REFRESH 32775
DELETE 32776
RENAME 32777
PROPERTIES 32778
VIEW_LARGEICONS 32779
VIEW_SMALLICONS 32780
VIEW_LIST 32781
VIEW_DETAILS 32782
ARRANGEICONS_BYNAME 32783
ARRANGEICONS_BYTYPE 32784
ARRANGEICONS_BYSIZE 32785
ARRANGEICONS_BYDATE 32786
FILE_SELECT 32788
FILE_COPY 32790
FILE_PASTE 32791
DIRECTORY_DELETE 32792
DIRECTORY_RENAME 32793
DIRECTORY_PROPERTIES 32794
DIRECTORY_OPEN 32795
FILE_DOWNLOAD 32796
DIRECTORY_COPY 32797
DIRECTORY_PASTE 32798
BACKGROUND_PASTE 32800
FILE_DELETE 32801
FILE_RENAME 32802
FILE_PROPERTIES 32803
BACKGROUND_NEWFOLDER 32804
BACKGROUND_NEWFILE 32805


If you plan to use different menus then it's much better to control it from ShowContextMenu event. Use this property only to set it to 0 if you don't want context menu to be shown at all.

Platforms

Windows