|
-
Mar 26th, 2000, 03:26 AM
#2
Fanatic Member
When I need to do this I make sure all my text boxes have the same tag. eg 'TextBox'
Then you could do something like :
dim ctl as control
for each ctl in me
if ctl.tag = "TextBox" then ctl.Text = ""
next ctl
You have to trap the error which occurs when a control without a tag property is checked. Sorry can't remember it off hand, as all my VB stuff is at work.
Hope this helps.
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
|