GetColumnArray(), GetEditorFields()
Summary
Gets a list of the columns displayed in an editor.
Syntax
columns = GetColumnArray(string editor_name)
| Argument | Contents |
|---|---|
| editor_name | The name of the editor, or null for the current editor |
Returns
An array of field names, in the order in which they appear in the editor.
Notes
-
Can also be called as GetEditorFields().
-
GetColumnArray() returns a list of all columns available in the editor. Not all of these columns may be visible in the editor window at one time.
Example
cols = GetColumnArray()
ShowMessage("There are " + String(cols.length) + " columns in the editor")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The specified editor does not exist |
See Also
| Function | Summary |
|---|---|
| CreateEditor() | Creates a new editor window |
| GetRowOrder() | Gets the order of rows in an editor |
| SetColumnArray() | Sets the columns displayed in an editor |
| SetRowOrder() | Sets the order in which rows appear in an editor |