ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.Types.TJamSelectionState

The selection status of an item in the TJamShellList or TJamShellTree with the Checkboxes property set to true can be queried using the GetSelectionState method. There are the following results:

Syntax
Pascal
TJamSelectionState = (
  ssUnused,
  ssDisabled,
  ssChecked,
  ssUnChecked,
  ssGrayed
);
Members 
Description 
ssUnused 
For internal use. We need ssUnused since state image index 0 cannot be used in TreeView.  
ssDisabled 
It is not possible to check this item, e.g. because it is a drive that is not ready or it is not a file system obejct.  
ssChecked 
This item is checked entirely. 
ssUnChecked 
This item is not checked. 
ssGrayed 
This item is partially checked and should be displayed with a grayed checkbox. This usually means that a subfolder of this folder is checked.