The Help page says “The info(“matrixrow”) function returns the current row number within a matrix object.” But I don’t think that is 100% correct.
In a TextList object that has DatabaseNavigator enabled, the value of info(“matrixrow”) persists after closing the window or deselecting any rows in the text list. For my purposes, it would be better if info(“matrixrow”) returned to zero when the TextList was closed or changed so that no rows were selected, but I don’t know if there is some reason why the current behavior is better overall.
I discovered this because I want to know if any row is selected in a text list. At first, I thought that I could use info(“matrixrow”) to test for this, but that is not completely reliable. Does anyone have a way to find out if any row is selected in a text list, as opposed to no row selected?