|
-
December 20th, 1999, 11:32 PM
#1
Control
Hi,
How do I clear the TextBoxes in an ActiveX Control
in a smarter way rather than clear it one by one.
Bye
-
December 21st, 1999, 03:43 AM
#2
Re: Control
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
-
December 21st, 1999, 10:01 PM
#3
Re: Control
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|