Hi,
How do I clear the TextBoxes in an ActiveX Control
in a smarter way rather than clear it one by one.
Bye
Printable View
Hi,
How do I clear the TextBoxes in an ActiveX Control
in a smarter way rather than clear it one by one.
Bye
Have a routine in your UserControl that does something like :
Dim ctl as Control
for Each ctl In UserControl.Controls
If TypeOf ctl is TextBox then
ctl.Text = ""
End If
next
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Hi Chris,
Just want to know how to plug the short routine into a Module so that I can call as and when I want.
Bye,
Ng Chee Tin