|
-
October 2nd, 2001, 05:27 PM
#1
Text
Hallo
I want to know if i can set al the txt.boxes and combobox with " " nothing in it in a simple way.
Tnx
-
October 2nd, 2001, 07:47 PM
#2
Re: Text
For TextBoxes set the Text property to "". Ex: TextBox1.Text="". For a ComboBox use the Clear method. Ex: Combo1.Clear.
-
October 2nd, 2001, 09:01 PM
#3
Re: Text
Dim ctl As Control
For Each ctl In Controls
If TypeOf ctl Is TextBox Then
ctl.Text = ""
End If
If TypeOf ctl Is ComboBox Then
ctl.Clear
End If
Next
David Paulson
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
|