How to Display text from another form to the main form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, everyone. How can I display text from another form that currently has
the focus. I'm doing a search in sql 2000, to dot it. I call a search form
and query my criteria, when it founds the value a display this on a list
view. Next, when the user selects the row, I want that to display the
information on the main form.
 
You might try passing a reference for the control in the main form that you
want to display the text in to the sub form. I have done this with a
progress bar on my main form that I wanted a different class to update and it
works well. Other options are a delegate or implement a notification
interface.
 
Back
Top