A form contains a text box named txtBox and a button named btnClip. The statement Clipboard.SetText(txtBox.Text) is placed inside btnClip’s Click event procedure. At run time, what will be placed into the Clipboard if the user enters the word “Hello” into txtBox and then clicks on btnClip?

(A) the word “txtBox”
(B) the word “Hello”
(C) the Clipboard will be emptied of all contents
(D) the word “btnClip”

(B) the word “Hello”

Computer Science & Information Technology

You might also like to view...

The Effects gallery displays a full range of special effects that can be applied to all shapes in the presentation

Indicate whether the statement is true or false

Computer Science & Information Technology

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

1. The property of each radio button in a group of radio buttons that must be the same for each button is the id property. 2. The checked property can be used to return the state of a checkbox to a JavaScript function. 3. The properties that determine the size of a text box are cols and rows. 4. If the information entered into a textarea box exceeds the number of rows originally set, a scroll bar is created. 5. The two types of buttons that display masked text (such as *'s or #'s) to hide what a user enters are "hidden" and "password".

Computer Science & Information Technology