Link Search Menu Expand Document

FlexRow.MoveNext Method

Explanation Point to the next line.
It is faster than the FlexView.GetRow (n) method where you want to advance the row you want to point to.
If the InvalidState property is $TRUE, the exception EXT-12 is raised.
Call format var ret = row.MoveNext( )
Return value Returns true if it was successfully moved.
Returns false if it cannot be moved.
Arguments None
Exception EXT-12 Invalid accessor
Example of use
    var row = FlexView1.GetRow();
    while (!row.End) {
        if (row.lbDeleteFlag) {
            row = FlexView1.DeleteRow(row);
        } else {
            row.MoveNext();
        }
    }
    
Related item MovePrev method