The OnDoubleClick event can be implemented by a script add-in to receive notification when the user double-clicks on a file or folder in a tab.
By default your event handler is passed an Item object corresponding to the item that was double-clicked. Because constructing an Item object may take some time (e.g. on a network drive) you have the option for your handler to be called twice - once with only the path to the item, and a second time (if desired) with the full Item object. To do this:
Method Name: | OnDoubleClick |
---|---|
Argument Type: |
|
Return Type: |
bool or string |
Description: |
The DoubleClickData.tab property identifies the tab, and the item property identifies the item that has been double-clicked. You can return two different types from this event:
|