Back to product page

ActionSelect event


Fires when user selects specific item.

Syntax

  • Basic
Private Sub object_ActionSelect(Item, NewPath, Allow)
The ActionSelect(object,Item,NewPath,Allow) syntax has these parts:
objectA wodFtpDLX object.
ItemA DirItem object. Full path to selected file/folder on the server.
NewPathA String value. Full path to selected file/folder on the server.
AllowA Boolean value. When set to False then action is ignored.

Remarks

Available only in ActiveX (GUI) version!

ActionSelect event is fired when user double-clicks (or presses ENTER key on an item) thus selecting it. If item is a folder, then wodFtpDLX will list connects of selected folder and directory will be changed. If remote item is file, then wodFtpDLX will take no actions - you could do it by yourself.

If you don't want wodFtpDLX to perform any actions (if you prefer to execute something manually) then just set Allow property to False and no action will be taken.

Also, you can change NewPath argument to something else, and wodFtpDLX will use value as you set it. This is very usefull when item is a symbolic link, and wodFtpDLX cannot know what exactly to do with it (it assumes it's a folder and tries to open it).

Platforms

Windows