Listbox.CollapseRow event timing


I was trying to use the Listbox.CollapseRow event to run a method to renumber my listbox row number column. It seems on collapse this event fires before the rows are collapsed and my renumber method shows a gap of where the rows have been collapsed. What method can I use to fire after the collapse has completed? I tried the change event, that did not work.

I am using a hierarchical listbox so, I wanted a seq number for each line, so I added a Row# column on the far right. Is this the right approach, or is there something better? I tried syncing two listboxes but they didn’t align perfectly.

Thank you,

Try using timer that you start in CollapseRow

Thanks Karen. That seemed to do it. Not sure I would have thought of that :slight_smile: