Grid_AddColumns |

Funktionsname | dcl_Grid_AddColumns
Syntax | `(dcl_Grid_AddColumns <CONTROL> NewColumns [als Liste von Lists as ((Caption [als String] {Justification [als Integer]} {ColumnWidth [als Long]} {ColumnImageIndex [als Integer]}) ...)])`
Rückgabewert | Boolean (T if successful; otherwise NIL)
Anwendbar auf | Grid

This method appends new columns to the grid. Caption is the column header caption, Justification is the column header caption justification style (default is left justified), ColumnWidth is the width (in pixels) of the new column (default is fit to caption), and ColumnImageIndex is the image from the control's image list to display beside the column header caption (default is none). Note that due to limitations in the Windows grid control, the first column in the control is always left justified and the justification style is ignored for that column.

Justification | Style
--- | ---
0 | Left justified
1 | Centered
2 | Right justified