Exam 9: Additional Controls and Objects

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

A form contains a button called btnDisplay, and the following code is placed inside btnDisplay's Click event procedure. At run time, which one of the following cannot possibly be displayed in the message box when the user clicks on btnDisplay? Dim rndNum As New Random Dim num1 As Integer num1 = rndNum.Next(0, 3) MessageBox.Show(CStr(num1))

(Multiple Choice)
4.7/5
(36)

After a ToolTip control has been placed into the component tray of the Form Designer, the setting of what property determines the amount of time required for a tooltip to appear when mouse hovers over a text box?

(Multiple Choice)
4.8/5
(46)

What is the effect of the statement gr.DrawString("Hello", Me.Font, Brushes.Blue, 50, 60)?

(Multiple Choice)
4.7/5
(35)

A list that has dropped down disappears when the user clicks on an item or presses the Enter key.

(True/False)
4.7/5
(44)

Which of the following steps turns off a timer control?

(Multiple Choice)
4.9/5
(31)

The pair of statements Dim fnt As Font = New Font("Times New Roman", 12) Gr.DrawString("Hello", fnt, Brushes.Blue,10,10) displays the word Hello in 12-point Times New Roman font.

(True/False)
4.9/5
(28)

The center of the circle drawn by the statement gr.DrawEllipse(Brushes.Red, 10, 20, 40, 40) has coordinates

(Multiple Choice)
4.8/5
(37)

In order to begin timing with the timer control, which one of the following must be true?

(Multiple Choice)
4.7/5
(40)

The statements gr.DrawLine(Pens.Red, 10, 20, 30, 40) and gr.DrawLine(Pens.Red, 30, 40, 10, 20) draw the same line.

(True/False)
4.9/5
(30)

A form contains a text box named txtBox and a button named btnClip. The statement Clipboard.SetText("") 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.7/5
(40)
Showing 81 - 90 of 90
close modal

Filters

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