RSS Forums RSS
Please support our VB.NET advertiser: Programming Forums

Clearing Text Boxes

Join Date: Sep 2005
Location: St. Louis
Posts: 145
Reputation: kahaj is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
kahaj kahaj is offline Offline
Junior Poster

Clearing Text Boxes

  #1  
Mar 14th, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:16 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC