By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,665 Members | 1,430 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,665 IT Pros & Developers. It's quick & easy.

How to Display text from another form to the main form

P: n/a
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.
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.

"iggie" wrote:
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.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.