Please support our VB.NET advertiser: Programming Forums
![]() |
•
•
Join Date: Sep 2005
Location: St. Louis
Posts: 145
Reputation:
Rep Power: 4
Solved Threads: 0
I can't figure out how to clear the text boxes in this program when the Enter button is clicked. Here is what I have...
Public Class AccountInformationForm
Private Sub enterButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles enterButton.Click
balanceLabel.Text = Val(balanceLabel.Text) - Val(withdrawalTextBox.Text) _
+ Val(depositTextBox.Text)
End Sub
End Class ' AccountInformationForm•
•
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,167
Reputation:
Rep Power: 7
Solved Threads: 59
withdrawalTextBox.Text = String.Empty depositTextBox = String.Empty
![]() |
Similar Threads
Other Threads in the VB.NET Forum
- Adding the results of two text boxes (Visual Basic Express Edition) (VB.NET)
- The Datagrid: How does one fill text boxes in edit mode with their original content? (ASP.NET)
- Cursor control in text boxes: (HTML and CSS)
- link text boxes with listbox (VB.NET)
- How do I limit text char in Combo box? (VB.NET)
- Time out web pages w/text or drop boxes (Networking Hardware Configuration)
Other Threads in the VB.NET Forum
- Previous Thread: Searchs with VB
- Next Thread: An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Linear Mode