| Function Name |
dcl-Grid-InsertColumn |
| Syntax
|
(dcl-Grid-InsertColumn
<CONTROL>
Column [as
Long] Caption [as
String] {Justification [as
Integer]} {ColumnWidth [as
Long]} {ColumnImageIndex [as
Integer]}) |
| Return Type |
Boolean (T if successful; otherwise NIL) |
| Applies To |
Grid |
此方法将新列插入网格。 Column是要插入新列的列索引,Caption是列标题标题,Justification是列标题标题调整样式(默认为左对齐),ColumnWidth是新列的宽度(以像素为单位)(默认为 适合字幕),ColumnImageIndex是来自控件图像列表的图像,显示在列标题标题旁边(默认值为none)。 请注意,由于Windows网格控件中的限制,控件中的第一列始终左对齐,并且对该列忽略对齐样式。
| Justification |
Style |
| 0 |
Left justified |
| 1 |
Centered |
| 2 |
Right justified |