Top Banner
The ________ property determines how a label control's text is aligned. text align a picturebox control's ________ property lists the name of the file containing the graphic image image
25
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: VB Q1

The ________ property determines how a label control's text is aligned.

text align

a picturebox control's ________ property lists the name of the file containing the graphic image

image

Page 2: VB Q1

a picturebox control's ________ property determine show the graphic image will be positioned and scaled to fit the control's bounding box

sizemode

when set to ________ , the TextAlign property causes text to appear in the bottom right area of a label control

Page 3: VB Q1

bottomright

the contents of a form's text property is displayed on the form's ________ .

titlebar

Page 4: VB Q1

anytime you select an existing control, ________ appear, which you use to re size the control

sizing handles

a controls ________ is a transparent rectangular area that defines the control's size

bounding box

Page 5: VB Q1

a labels control's ________ property establishes the font, style, and size of the label's displayed font

font

to delete a control during design time, select it and press the ________ key.

Page 6: VB Q1

delete

the ________ control is used to display graphic images

picturebox

Page 7: VB Q1

the SizeMode property is set to ________ by default

normal

when the ________ button is selected on the solution explorer window, it opens the code window

view code

Page 8: VB Q1

clicking the ________ button in the properties window causes related properties to be listed in groups

categorized

visible is a ________ property, which means it can only hold one of two values; true or false

Page 9: VB Q1

boolean

an apostrophe in code marks the start of a ________

comment

Page 10: VB Q1

the equal sign is known as the ________ operator. it copies the value on its right into the item on its left

assignment

in an assignment statement, the name of the item receiving the value must be on the ________ side of the operator

left

Page 11: VB Q1

visual basic automatically provides a code ________ , which is the first and last lines of an event procedure

template

the ________ statement causes the application to end

Page 12: VB Q1

Me.close()

the ________ property establishes the background color for a label control's text

backcolor

Page 13: VB Q1

the ________ property establishes the color of the type for a label control's text

forecolor

the ________ property allows you to prevent the user from resizing, minimizing, or maximizing a form, or closing a form using its Close button

FormBorderStyle

Page 14: VB Q1

when you ________ the controls on a form, they cannot be accidentally moved at design time

lock

you display text in a form's title bar by setting the value of the form's ________ property.

Page 15: VB Q1

text

you commonly display messages on a form by setting the value of a label control's ________ property

text

Page 16: VB Q1

the ________ property causes the label control to resize automatically to accommodate the amount of text in the text property

autosize

________ is a help screen displayed for the currently selected item

context-sensitive help

Page 17: VB Q1

________ errors are found while an application is running

runtime

Explain the difference between an object's text and its name

Page 18: VB Q1

The Text property simply displays text on a control. The Name property, however, is the control's internal name. You access and manipulate a control in code by using its name.

List three ways to run an application within the visual studio environment

• By clicking the start button on the toolbar

• By clicking the Start Debugging command on the Debug menu

• By pressing the F5 key

Page 19: VB Q1

List three ways to display the code window

• Click the view code button on the Solution Explorer window.

• Click View on the menu bar, then click the Code command.

• Press the F7 key while the Form window is visible.

Why is the code between the first and last lines of an event procedure usually indented

Page 20: VB Q1

So the reader can easily see that the code lines belong to the procedure

How do you make a picture box control respond to mouse clicks?

By placing code in the control's Click event procedure

Page 21: VB Q1

Quiz for Visual Basic ch 2

<< Go to card set details

Question 1

Multiple-choice

________ is a help screen displayed for the currently selected item

Select the best answerpicturebox sizing handles

text align context-sensitive help

Question 2

Multiple-choice

an apostrophe in code marks the start of a ________

Select the best answerbackcolor sizemode

image comment

Question 3

Multiple-choice

visible is a ________ property, which means it can only hold one of two values; true or false

Select the best answercomment runtime

boolean view code

Question 4

Multiple-choice

to delete a control during design time, select it and press the ________ key.

Select the best answerdelete text

image font

Question 5

Multiple-choice

the ________ property causes the label control to resize automatically to accommodate the amount of text in the text property

Select the best answerruntime view code

boolean autosize

Question 6

Multiple-choice

Explain the difference between an object's text and its name

Page 22: VB Q1

Select the best answerThe Text property simply displays text on a control. The Name property, however, is the control's internal name. You access and manipulate a control in code by using its name.

sizing handles

By placing code in the control's Click event procedure picturebox

Question 7

Multiple-choice

when the ________ button is selected on the solution explorer window, it opens the code window

Select the best answerview code sizemode

text align Me.close()

Question 8

Multiple-choice

a picturebox control's ________ property determine show the graphic image will be positioned and scaled to fit the control's bounding box

Select the best answertemplate comment

titlebar sizemode

Question 9

Multiple-choice

visual basic automatically provides a code ________ , which is the first and last lines of an event procedure

Select the best answerruntime view code

comment template

Question 10

Multiple-choice

you commonly display messages on a form by setting the value of a label control's ________ property

Select the best answerimage text

comment runtime

Grade this quiz!