ImageEn, unit iexWPD

TIEPortableDevices.ActiveFolderID

TIEPortableDevices.ActiveFolderID


Declaration

property ActiveFolderID : WideString; (read/write)


Description

Returns the ID of the folder that is currently being read (the source of Objects). I.e. if you have called NavigateToFolderPath then ActiveFolderID will be the Folder ID that you passed.

You can also specify a folder ID to navigate to that folder on the active device.
ActiveDeviceID := sFolderID;

Is the same as:
NavigateToFolderPath( ActiveDeviceID, sFolderID); 

If '' is returned then the active folder is the device root


Example

// Display the current folder
edtCurrentFolder.Text := fPortableDevices.LookupItemFriendlyName( fPortableDevices.ActiveFolderID );