ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellTree.MoveInHistory

Jump back and forward to directories, which you selected before.

Syntax
Pascal
procedure MoveInHistory(Delta: Integer);
Parameters 
Description 
Delta: Integer 
The number of positions that should be moved back or forward in the history.  

This method is to jump back and forward to directories, which were shown before, like in Windows Explorer. Set delta between -1 and -3 to move back or between 1 and 3 to move forward.

Move back:

procedure TMainForm.ButtonClick(Sender: TObject);
begin
JamShellTree.MoveInHistory(-1);
end;

Move forward:

procedure TMainForm.ButtonClick(Sender: TObject);
begin
JamShellTree.MoveInHistory(1);
end;