The DialogListColumns object lets you query or modify the columns in a Details mode list view control in a script dialog. Use the Control.columns property to obtain a DialogListColumns object.
You can enumerate this object to query the current columns. Each column is represented by a DialogListColumn object.
Method Name | Arguments | Return Type | Description |
---|---|---|---|
AddColumn |
<string:name> |
int |
Adds a new column to the list view, and returns the index of the new column. |
AutoSize |
none |
none |
Automatically sizes all columns in the list view to fit their content. |
DeleteColumn |
<int:index> |
none |
Deletes the specified column. |
GetColumnAt |
<int:index> |
object: |
Returns a DialogListColumn object representing the column in the specified position. |
GetDisplayOrder |
none |
object:Vector |
Returns the order which the list's columns are displayed on the screen. This may differ from their natural order if you have previously changed it via SetDisplayOrder. |
InsertColumn |
<string:name> |
int |
Inserts a new column in the list view at the specified position, and returns the index of the new column. |
SetDisplayOrder |
<int:indexA> |
none |
Changes the order in which the list's columns are displayed. |