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

Payment Calculator

P: n/a
I want to know how to clear a text field when anyone of
another text field's text has changed or a radion button
changed, or combobox text value has changed, by using
just one sub.

I'm able to accomplish this by using the
texbox_textchanged and then putting the code necessary to
clear another text box, but i need a sub for each object
on the form. Is there a way to do this with one sub?

Thanks,
Mike Rayl
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Thank you very much.
-----Original Message-----
Yes, on the first textbox where you clear it

myTextBox.text = string.Empty...

Look at the signature

Private Sub myTextBox_TextChange(Blaha, Blah) Handles myTextBox.TextChanged,myTextbox2.TextChanged, myTextBox3.TextChanged etc.
"Mike Rayl" <mr***@iquest.net> wrote in message
news:9e****************************@phx.gbl...
I want to know how to clear a text field when anyone of
another text field's text has changed or a radion button changed, or combobox text value has changed, by using
just one sub.

I'm able to accomplish this by using the
texbox_textchanged and then putting the code necessary to clear another text box, but i need a sub for each object on the form. Is there a way to do this with one sub?

Thanks,
Mike Rayl

.

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.