ui.Dialog.isSortReverseAt

Indicates the sort order direction (FALSE=ascending, TRUE=descending), for a given sort column position.

Syntax

isSortReverseAt(
   name STRING,
   index: INTEGER
)
  RETURNS BOOLEAN
  1. name is the name of the screen record, see Identifying screen-arrays in ui.Dialog methods.
  2. index is the sort column position (1 = first sort column)

Usage

The isSortReverseAt() method returns FALSE if the sort order is ascending, and TRUE if the sort is in descending order, for the record list identified by the screen record name, and the sort column position specified by index parameter.

This method is used in the context of the ON SORT trigger.