blackboard how to take greyed out boxing off text

by Cristina Trantow DVM 4 min read

How do I get rid of the grey background formatting?

Oct 23, 2021 · Blackboard How To Take Greyed Out Boxing Off Text. If you are looking for blackboard how to take greyed out boxing off text, simply check out our links below : 1. How do I remove formatting in Blackboard's text editor? 2. Unwanted Gray Box is Embedded in …

How do I get rid of the grey text in Excel?

May 30, 2021 · How do I add a web link to my Blackboard course? … In a content area, learning module, or folder, select Build Content to access … Unless you select text or an object, the Insert/Edit Link and Remove Link icons are grayed out …

How do I remove text from the ribbon?

See more: http://www.ehow.com/tech/

How do I remove the background color from a text file?

Dec 19, 2017 · Hi, I wanted to create a visually pleasant book where users can type their text. When I use 'add text field option' and save afterwards; the file …

image

How to remove background color in Word?

Then go to Format > Clear formatting (or press Ctrl + ) to remove the background color.

How to share a link in Word?

Choose File > Share and click on Get shareable link in the upper right-hand corner of the dialog box. Click "Anyone with the link can view " and change it to "Anyone with the link can edit. ". Click the link in the address box below and press Control+C to copy it (on a Mac, press ⌘C). Click Done.

Question

I would like to (Similar to the Mozilla Firefox Search Bar in the upper right of the browser), have greyed out text in a textBox when the application starts. When someone clicks on the textBox I would like the greyed out text to be removed so that they can type, and if they leave the textBox, I would like this greyed out text to return.

Answers

string GrayedText;#N#private void textBox1_Enter (object sender, System.EventArgs e)#N#{#N#GrayedText = textBox1.Text; // Stores old text value if you want#N#textBox1.Text = ""; // Clears the text field#N#textBox1.ReadOnly = false; // Makes the field editable#N#}#N#private void textBox1_Leave (object sender, System.EventArgs e)#N#{#N#textBox1.ReadOnly = true; // Returns to being grayed out#N#textBox1.Text = GrayedText; // Returns old text if you want#N#}.

All replies

string GrayedText;#N#private void textBox1_Enter (object sender, System.EventArgs e)#N#{#N#GrayedText = textBox1.Text; // Stores old text value if you want#N#textBox1.Text = ""; // Clears the text field#N#textBox1.ReadOnly = false; // Makes the field editable#N#}#N#private void textBox1_Leave (object sender, System.EventArgs e)#N#{#N#textBox1.ReadOnly = true; // Returns to being grayed out#N#textBox1.Text = GrayedText; // Returns old text if you want#N#}.

image