Can't scroll down in roGridScreen

Ok. I’ve got my roGridScreen displaying correctly (Thanks to RokuChris and TheEndless :slightly_smiling_face: ).
One problem remaining: I can’t scroll down to any row below the top one (there are 10).

Ideas?

Thanks,
Dave

A few possible causes:

  • Calling SetListNames() before SetupLists()

  • Not calling SetListNames() at all

  • Calling SetListNames() with an array whose length does not match the number of rows you specified in the call to SetupLists()

The grid is kind of picky about the order you do things in. It needs to be SetupLists(), SetListNames(), then Show()

Actually, I call SetupLists() and then call SetListName() inside my init loop.
Is that not a correct usage?

Thanks,
D.

“vaxace” wrote:
Actually, I call SetupLists() and then call SetListName() inside my init loop.
Is that not a correct usage?

I’ve never done it that way. The best practice is to use SetListNames() when setting up the screen. SetListName() can be used to change individual row names later on. You can probably still make your approach work by adding a call to SetListNames() with an array of empty strings before you start your loop.

That’s got it.

Thanks very much.

Dave