2.236 .nextactive[index]
With .nextactive[index] the application is able to get all active fields or to find out how many fields are active and if there are any active fields at all.
To define the next active field, it is necessary to specify an index from where an active entry should be searched for. If no further entry is found, [0,0] is returned as index.
A search with the indices [I,0] or [0,J] is not possible. Since these indices do not represent real fields of the table, the query is treated as if the index [0,0] had been specified.
The search direction is determined by the .direction attribute. If .direction = 1, the next selected cell is searched for row by row and if .direction = 2, it is searched for column by column. For example, if cells [4,2] and [3,5] are selected, .nextactive[1,1] will return [3,5] if .direction = 1 and [4,2] if .direction = 2.
Definition
-
Data type
integer
-
Access
get

-
C
Data type: DT_integer
-
COBOL
Data type: DT-integer
-
Classification
object-specific attribute
-
Objects
See also
Attribute