Hello,
I have a ListView that "after" a label edit I need to add spaces to the beginning of the file name. My problem is that any code ran in the AfterLabelEdit event actually takes place before the ListViews own LabelEdit logic updates the text of the ListViewItem.
So...
1) User edits label
2) I assign the text
3) AfterLabelEdit changes the text back after the exiting the event from my side.
The only thing I can think of at this point is to set a timer at the end of the AfterLabelEdit event to set the text to what I want it. Seems like a pretty lame solution to me.
Any suggestions?
Thanks in advance,
Christian




Reply With Quote