This statement is in the open event in a window. AdCardList is a Listbox
AdCardList.SelectedRowIndex = If( LstIntRow > -1, LstIntRow, 0 )
The above statement is not resetting SelectedRowIndex. SelectedRowIndex was -1 before this. LstIntRow is 0.
I restarted my Mac in case it had been up for too long.
From what I understand SelectedRowIndex should be 0
I also broke the if operator statement into traditional and it still doesn’t get set.
If LstIntRow > -1 Then
AdCardList.SelectedRowIndex = LstIntRow
AdCardList.SelectedRowIndex = 0