Exam 9: Additional Controls and Objects

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Animation can be produced by placing an image in a picture box and moving the picture box.

(True/False)
4.8/5
(39)

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?

(Multiple Choice)
4.8/5
(31)

The value of Me.ClientSize.Height is the distance between the form's title bar and the bottom border of the form.

(True/False)
4.9/5
(34)

The__________ event occurs just before a form closes.

(Multiple Choice)
4.7/5
(37)

To move the scroll box of a scroll bar a large distance

(Multiple Choice)
4.9/5
(45)

A modal form cannot lose the focus until the form disappears.

(True/False)
4.9/5
(38)

Give a statement that displays the value of the string variable strVar with yellow letters.

(Multiple Choice)
4.8/5
(32)

For a list box named lstBox, the following statement will delete the first occurrence of the value of num from its list.

(True/False)
4.8/5
(43)

With a scroll bar control, the default values of the Minimum and Maximum properties are 1 and 100 respectively.

(True/False)
4.8/5
(29)

The size of a picture assigned to a picture box control is limited by the original size of the picture.

(True/False)
5.0/5
(33)

The sector of a circle with sweep angle 90 consists of a quarter of the circle.

(True/False)
4.8/5
(38)

Give a statement that draws a blue line from the upper-left corner of the picture box to the center of the picture box.

(Multiple Choice)
4.8/5
(33)

A random number generator object can be declared with the following statement.

(True/False)
4.8/5
(38)

The statement gr.FillRectangle(Brushes.Red, 0, 0, picOutput.Width/2, picOuput.Height/2) colors the upper-left quarter of the picture box red.

(True/False)
4.8/5
(34)

The Clipboard object is used to move or copy information from one location to another, including from one Windows application to another.

(True/False)
4.8/5
(34)

Code in one form can refer to controls in another form.

(True/False)
4.7/5
(33)

The statement lstBox.Items.RemoveAt(lstBox.SelectedIndex) deletes the item currently highlighted in lstBox.

(True/False)
4.8/5
(30)

When working with multiple forms, only one form can be visible at the same time.

(True/False)
4.8/5
(39)

When working with the MenuStrip control, the programmer is not allowed to set up access keys by placing an ampersand in front of a character of text.

(True/False)
4.9/5
(32)

A form contains a horizontal scroll bar control named hsbXpos, and the statement lblFace.Top = hsbXpos.Value is placed inside the hsbXpos.Scroll event procedure (where lblFace identifies a label on the form, and the hsbXpos's Minimum and Maximum properties are set at their default values). What will happen when the hsbXpos.Scroll event is triggered by moving the scroll bar's scroll box to the right?

(Multiple Choice)
4.9/5
(35)
Showing 21 - 40 of 90
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)