Assume there are 50 items at Level 0 (Children of the root).
Item 0 is the FocusedItem.
After reversing order, I do the following to make the focused item visible, only it doesn't work.
ItemFocused := Items.Item[FocusedIndex]; // This line works to make the ItemFocused the same as before reversing the order.
ItemFocused.MakeVisible(); // Tried this: doesn't work.
TopIndex := ItemFocused.VisIndex; // Tried this: doesn't work.
What is to be done, please?
Thanks.
Raymond
Comments