ShellBrowser Delphi Components Documentation
|
Checks if moving is possible.
function IsMovePossible(Delta: Integer): Boolean;
Parameters |
Description |
Delta: Integer |
The number that specifies the direction and position when moving. |
True if moving by the Delta is possible.
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 := JamShellList.IsMovePossible(1); MoveBackButton.Enabled := JamShellList.IsMovePossible(-1); end;