Pumpkin,
Well, you don't have a problem of Form A talking to Form B. Since Form
A is going to create and show Form B, you have a reference to it and can get
information from it (via properties, methods and events on Form B).
You are passing the string to Form B, right? Why not pass a reference
from Form A to Form B in the constructor as well? Or at least, the
ListView. This way, you can get information about what is displayed on Form
A.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Pumpkin Carver" <nr****@gmail.comwrote in message
news:11*********************@p15g2000hsd.googlegro ups.com...
>I have a form that has a listview on it and a serious of strings in
the listiew. When i doubel click on the listview item it opens a new
form and displays the text that i pass to the constructor. What i am
trying to do now is have a previous/next button on the form i just
opened and have it go through the list of items depending on whats
previous or next to that item. I pretty much have the logic for that,
the only issue i cant seem to figure out is "form b" talking to "form
a" and then "form a" returning data back to "form b". Any ideas or web
examples or anything?
Thanks!