wodFtpDLX ActiveX Control - ActionSelect Event
    
 

Description

Fires when user selects specific item.


Syntax

Private Sub object_ActionSelect(Item, NewPath, Allow)



The ActionSelect Event syntax has these parts:

Part Description
object A wodFtpDLX object.
Item A DirItem object. Reference to selected item.
NewPath A String value. Full path to selected file/folder on the server.
Allow A 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).