Forum > Coding >

Clear Text Button

Posts: 28

Threads: 8

Joined: Mar, 2018

Reputation: 0

Posted

Can someone give me a script that clears a text when you press a button?
  • 0

Posts: 2

Threads: 0

Joined: Apr, 2018

Reputation: 0

Replied

try this: richTextBox1.Text = "";
             ^^^ name you want
  • 0

Posts: 401

Threads: 27

Joined: Jan, 2018

Reputation: 14

Replied

RichTextBox1.Clear();
  • 0

Posts: 12

Threads: 1

Joined: Mar, 2018

Reputation: 0

Replied

richTextBox1.Text = "";
this.Refresh();
  • 0

Added

richTextBox1.Text = "";
this.Refresh();
  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )