RSS Forums RSS
Please support our VB.NET advertiser: Programming Forums
Views: 1477 | Replies: 2 | Thread Tools  Display Modes
Reply
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  
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,167
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Rep Power: 7
Solved Threads: 59
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Clearing Text Boxes

  #2  
Mar 15th, 2007
withdrawalTextBox.Text = String.Empty 
depositTextBox = String.Empty
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote  
Join Date: Jul 2007
Posts: 15
Reputation: potatochips is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
potatochips potatochips is offline Offline
Newbie Poster

Re: Clearing Text Boxes

  #3  
Jul 16th, 2007
depositTextBox.Text =" "
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:16 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC