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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top