Whackeddie99 Posted August 13, 2011 Author Share Posted August 13, 2011 Hey, I want to put a button by the end of my chatbar that says Clear, and when you click it, it clears all of the words/letters from the chatbar. I know that I could make a Button, make the label say Clear, and then make a custom button in paint or something to use for it, but I just need to know how I could make it work, what code do I need to put in the the click section. I don't know :/ please help!Thanks in advance! Link to comment Share on other sites More sharing options...
Beanie93 Posted August 13, 2011 Share Posted August 13, 2011 You mean you want to clear the main chatbox?Use```txtChat.Text = ""```If that's what you mean. Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 13, 2011 Author Share Posted August 13, 2011 @Beanie93:> You mean you want to clear the main chatbox?> Use> ```> txtChat.Text = ""> ```> > If that's what you mean.No, I mean to clear the textMyChat area, where you type what you want to send. But based on what you've showed me, I figured it out (I'm making newb progress!!!)I put txtMyChat.Text = "" instead, and it works fine :D Link to comment Share on other sites More sharing options...
Carim123 Posted August 13, 2011 Share Posted August 13, 2011 txtMyChat.Text = vbNullString.I take it you've had a good look at my UI from May, after reading that tutorial, then? ;? Link to comment Share on other sites More sharing options...
Whackeddie99 Posted August 14, 2011 Author Share Posted August 14, 2011 lol, not gonna lie, I did. I got the idea from you UI, if you'd like I can credit you for multiple things in my credits. I don't like stealing ideas, I just didn't know it was claimed as yours. Link to comment Share on other sites More sharing options...
Carim123 Posted August 14, 2011 Share Posted August 14, 2011 Nah, I don't really care. Use as you like. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now