dlgitem_set_table_sort
dlgitem_set_table_sort(window, dlgitem, column[, sortorder])
Specifies on which column the table is to be sorted.
• window — The window identifier of the window containing the table.
• dlgitem — The value of the control's id attribute.
• column — The 1-based index of the column on which the table is to be sorted. If column is set to 0, the table will not be sorted.
• sortorder — When 0 or omitted, the column specified in the function will be sorted in ascending order. Otherwise, the column will be sorted in descending order.
If dlgitem does not refer to a table, or if column is illegal, $ERROR is set and 0 is returned. Otherwise, 1 is returned.
Related Topics