ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellLink.TJamShellLink.CanNavigate

Use this function to check if navigating the passed ItemIdList is allowed. It currently calls the cancellable OnNavigating event, that can be implemented to prohibit paths.

Syntax
Pascal
function CanNavigate(const Sender: TObject; const pItemIdList: IItemIdList): boolean;
Parameters 
Description 
const Sender: TObject 
The sender of the path change; it is passed to the eventhandler. 
const pItemIdList: IItemIdList 
The ItemIdList that should be checked. 

A boolean indicating if navigation to the passed ItemIdList is allowed or not.