ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TShellBrowser.IsLinkToFolder Method

Find out if the current object is a shortcut to a folder

Syntax
Pascal
function IsLinkToFolder: UnicodeString;

This function returns the path of the target folder, if the current object is a link to a folder. Otherwise it returns an empty string.

Target := ShellBrowser.IsLinkToFolder; if Length(Target)>0 then ShellBrowser.Folder := Target else ShellBrowser.BrowseObject;
Copyright (c) 2011. All rights reserved.