Back to product page

ActionDelete event


Fires when user selects delete from the context menu.

Syntax

  • Basic
Private Sub object_ActionDelete(Item, Allow)
The ActionDelete(object,Item,Allow) syntax has these parts:
objectA wodFtpDLX object.
ItemA DirItem object. Reference to item that will be deleted.
AllowA Boolean value. When set to False then action is ignored.

Remarks

Available only in ActiveX (GUI) version!

This event is fired when user selects 'Download' from the context menus. Also - please note that in future versions it will also be fired when user tries to drag&drop file from wodFtpDLX window to external Explorer.

You should set LocalPath argument to absolute filename where remote file will be stored on your system. If you don't want to allow users to download files, then set Allow argument to False.

Platforms

Windows