ShellBrowser Delphi Edition Documentation
ContentsIndexHome
PreviousUpNext
TJamShellTree.IsMovePossible Method

Checks if move is possible.

Syntax
Pascal
function IsMovePossible(Delta: Integer): Boolean;

This method checks if moving back or forward is possible. Set delta to the same value as the delta value in the move function.

procedure TMainForm.JamShellListChange(Sender: TObject; Item: TJamShellListItem; Change: TItemChange); begin MoveForwardButton.Enabled := JamShellTree.IsMovePossible(1); MoveBackButton.Enabled := JamShellTree.IsMovePossible(-1); end;
Copyright (c) 2011. All rights reserved.