ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamSystemShellView.TJamShellViewColumns.GetStrings

Gets the captions of the columns that are shown/available in the current view in their order of appearance as TStrings.

Syntax
Pascal
procedure GetStrings(var pList: TStrings; pAll: Boolean = True);
Parameters 
Description 
var pList: TStrings 
The list to be filled.  
pAll: Boolean = True 
If set to True all available columns are returned and otherwise only the columns currently displayed are returned.  

The following example shows how to list the captions of only visible columns in the current folder:

  Columns := TStringList.Create;
  JamSystemShellView.GetStrings(Columns, False);

  for i := 0 to Columns.Count - 1 do
    ShowMessage(Columns[i]);

  Columns.Free;

To list all available columns in the current folder JamSystemShellView.GetStrings(Columns, True); can be called instead.