Which of the following statements specifies that the color of the text in txtBox be red?

(A) txtBox.Text = Color.Red
(B) txtBox.ForeColor = Color.Red
(C) txtBox.ForeColor = Red
(D) txtBox = Color.Red


(B) txtBox.ForeColor = Color.Red

Computer Science & Information Technology

You might also like to view...

What is the output of the following code segment?

int p = 5, t = 2, c = 0; while (c < 3) { p *= t; c++; } cout << p; a) 10 b) 20 c) 40 d) 80

Computer Science & Information Technology

The Save As dialog box does not contain a New folder button

Indicate whether the statement is true or false

Computer Science & Information Technology

A hub is not a good network device to use because there are too many _______ on the network

Fill in the blank(s) with correct word

Computer Science & Information Technology

The most common types of PUPs and PUAs are toolbars and alternative browsers.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology