ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellList.MoveInHistory

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

Syntax
Pascal
procedure MoveInHistory(Delta: Integer);
Parameters 
Description 
Delta: Integer 
An amount between -3 and 3 that specifies the direction and position for moving.  

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
JamShellList.MoveInHistory(-1);
end;

Move forward:

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