Maptitude GISDK Help |
Gets the order of rows in an editor.
sort_sequence = GetRowOrder(string editor_name)
Argument |
Contents |
editor_name |
The name of the editor, or null for the current editor |
An array of fieldname/direction pairs specifying the current order of rows in the editor. Each pair is an array of two elements: a field name in the editor's view and a string specifying whether the field is sorted Ascending or Descending. The first pair in the sort_sequence array specifies the primary sort key; the second pair specifies the secondary sort key, etc. A null return value indicates that the editor is displaying its rows in the natural order of its view and set.
order = GetRowOrder()
If order = null then ShowMessage("The editor is not sorted.")
else ShowMessage("The primary sort key is " + order[1][1])
Error Type |
Meaning |
NotFound |
The specified editor does not exist |
Function |
Summary |
Gets a list of the columns displayed in an editor |
|
Finds the first record in a view or selection set based on a sort order |
|
Sets the columns displayed in an editor |
|
Sets the order in which rows appear in an editor |
©2025 Caliper Corporation | www.caliper.com |