Visual Basic Tutorial: A Button To Clear Text

preview_player
Показать описание
In this tutorial I used Microsoft VB 2010 Express as Administrator.

These are the steps:-
╚ Create a Windows Application Form
╚ Add Two Buttons (Not necessary for two, one is ok)
╚ Add a Text box, Enable 'Multiline' as shown in the video. Extend it to your preference.
╚ Add the codes for the buttons shown in the tutorial also.

CODE :

For the Close button:


For the Clear Button:

" [Name of text box].Text = "" " - (again, under the pre-made sub for clear button)
Рекомендации по теме
Комментарии
Автор

Thank you man ! im a beginerr you helped me :P

pepereno
Автор

Thank you so much for this video! I enjoy learning how to do this. I am new to programming and I am very interested in learning more. I enjoy it so much that it became my #1 hobby and it's because of people like you who make such great video's one can learn without getting frustrated :)

michaelcrowe
Автор

How to clear checkbox using visual studio?

nurulsyifabtedrussalam
Автор

can you please make one for listbox because this isn't working for it

arhamjain
Автор

hey my skin_item in the weapon is uncleared can someone tell me how you fix that please

slygaming