Payment Calculator

  • Thread starter Thread starter Mike Rayl
  • Start date Start date
M

Mike Rayl

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
 
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.



.
 
Back
Top