ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.BaseShellListView.TJamShellListColumns.Add

Create and adds a new TJamShellListColumn to the Collection.

Syntax
Pascal
function Add(const pPid: integer): TJamShellListColumn; overload;
Parameters 
Description 
const pPid: integer 
By default the column will by assigned a custom TJamShellListColumn.ShColumnId using the passed value. 

The column that was added

By default this method creates a custom column instead of a ShellColumn. For identification a TJamShellListColumn.ShColumnId is made up from a fixed constant part and the pid that is assigned. Be sure to use values for PID that uniquely identify the column.