I placed:
TF_Report.Text = "The List have changed
"
in ListBox1.Changed
.
But a single click in an EMPTY ListBox fires the Change event.
So, clearly, it is not the place to put (and I understand that f act: I use that event to shadow the selected Row into a TextField [TF_Report], read some lines above):
HasChanged = True
or I have to add conditional stuff there to do that.
For example, store a ‘flag’: property to store the ‘previous’ ListBox # of rows and compare it to the current one.
Also, I have a second column that I fill extracting data from Column(0):
Column(0) = URL, Column(1)
is filled with the file name extracted from Column(0)
.
This do not fire the Change event.
How do you do it ?
Right now, I think that I have to put the Boolean change into external buttons like Open, Export, Import, Add Names, Get Info (who only extract data from the selected Row and display them into a new window), and DropObject
(plus some I forgot ?).
I also have to do it from ListBox1.EditableColumn
(CellClick ?).
What about the Header changes ? (Sort)