ListView-AddColumns

Function Name dcl-ListView-AddColumns
Syntax   (dcl-ListView-AddColumns <CONTROL> NewColumns [as List of Lists as ((Caption [as String] {Justification [as Integer]} {ColumnWidth [as Long]} {ColumnImageIndex [as Integer]}) ...)])
Return Type Boolean (T if successful; otherwise NIL)
Applies To List View

此方法将新列附加到列表视图。 Caption是列标题标题,Justification是列标题标题调整样式(默认是左对齐),ColumnWidth是新列的宽度(以像素为单位)(默认是适合caption),ColumnImageIndex是控件的图像 图像列表显示在列标题标题旁边(默认值为none)。 请注意,由于Windows列表视图控件中的限制,控件中的第一列始终左对齐,并且对该列忽略对齐样式。

Justification Style
0 Left justified
1 Centered
2 Right justified