I'm trying to set the first visible item in a TableView on the top of the list with TableView.LookupItem when I'm coming back from an item detail. Placing this line in the OnItemAfterReturnDetail doesn't produce any effect
tvCurricula.LookupItem(AItem.ID, False, True);
While placing a similar line on the OnClick of a Button when the TableView is visible is working correctly
tvCurricula.LookupItem(7, False, True);
The item with ID = 7 is placed correctly at the top of the TableView, is not selected, and is selectable.
This line in the OnItemAfterReturnDetail is not working either.
The sense of this command is to place the just visited item at the top of the TableView when the user is coming back from its detail.
Do I miss some action or doesn't it really not work?