Visual Basic 2010
Get free Visual basic 2010 source codes. Learn Visual Basic 2010 using this website.
Pages
(Move to ...)
Home
About
▼
Friday, May 13, 2011
Clear data from all TextBoxes in the Form
If you want to clear the data from all textboxes in the form just with one click, in one button enter the code bellow:
Dim
tbox
As
Control
For
Each
tbox
In
Me
.
Controls
If
TypeOf
tbox
Is
TextBox
Then
tbox
.
Text
=
Nothing
End
If
Next
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment