Click to See Complete Forum and Search --> : Listview inheritance(?), need help


Martin_SBT
May 3rd, 2006, 10:28 AM
Hi

On my Main form, i got a Listview with 3 columns populated with data. On my other forms, i want to display that same listview control with the same data, and most important thing is that i want that if some data changes in the listview on my main form, theses changes must be also seen in the listview of my other forms. Is there an easy way to do that?

thanks

Martin

Martin_SBT
May 4th, 2006, 08:25 AM
Basically, i would like to synch the content of the Listview on my second form with the one on my main form. Anyone can point me to the good direction?

thanks

PapaSmurf
May 9th, 2006, 03:47 PM
How are you displaying the forms? Are you using one as a dialog for another or are you displaying them both on different threads?

Assuming that on list view is on a form that is a dialog for the other then when the dialog form is closed you can insert code after the ShowDialog command to reload the first list view with the changes from the second.