What keyboard key will activate the button listed in the Acceptbutton property of a form?

Upgrade to remove ads

Only SGD 41.99/year

  • Flashcards

  • Learn

  • Test

  • Match

  • Flashcards

  • Learn

  • Test

  • Match

Terms in this set [30]

Setting the TabIndex of a control to 0 [zero] will _______.

cause the control to appear to the right of the other controls

make the control Visible

align the control to the left of the other controls

set the focus on this control when the program begins running

D

Setting the AcceptButton property of a Form to a button name will cause the code in that button to be executed when the user presses _______.

the Esc key

the Enter key

the Tab key

the Home key

B

Setting the Cancel property of a button to True will allow the user to press Enter to select the button.

False

If the text displayed on a button is "Clear", and the C in the word Clear is underlined, the user can press ______________ to execute the code in the "Clear" button.

the Ctrl key and the letter C

just the letter C

the Shift key and the letter C

the Alt key and the letter C

D

If you want to display text which cannot be modified by the user, use the _______.

Label control

TextBox control

Caption control

Name control

A

A form can contain multiple group boxes.

True

You can select multiple controls by clicking on the first control and then holding the Ctrl key and clicking on each of the other controls in the group.

True

When a check box is checked, the Checked property is set to True.

True

The statement: itemTextBox.Focus[], will place the insertion point in the text box called itemTextBox.

True

The user can select multiple radio buttons in the same group.

False

Create keyboard access on an object by ______________ in the Text property.

using ampersand [&]

using at [@]

using underscore [ _]

capitalizing the first letter of the word

A

Which design-time property setting should be used on an object named userInputTextBox in order to make the insertion point appear in the object when the form first appears?

Focus property set to True

TabStop property set to Focus

TabIndex property set to True

TabIndex property set to 0

D

You are designing a form that will have three groups of radio buttons. You should create group boxes, and then create the groups of radio buttons inside of each of the group boxes.

True

You can break a long line of code into multiple lines by ________ and then continuing writing code on the next line.

pressing the Enter key at the end of the line

adding a blank space and a plus sign [ + ] at the end of the line

adding a blank space and an ampersand [ & ] at the end of the line

adding a blank space and an underscore [ _ ] at the end of the line

D

The property used to display something in a PictureBox control is _______.

Text

Image

Name

Picture

B

Which of the following statements will clear the contents of a text box named messageTextBox?

messageTextBox.Text = ""

messageTextBox.Clear[]

messageTextBox.Text = String.Empty

All of the answers are correct

D

Setting the control's ToolTip on Tooltip1 property will make a label pop up when the user pauses the mouse pointer over the control.

True

Your project requires the user to choose their gender. You should display the choices, Male and Female, using check boxes.

False

If you don't want the focus to stop on a control when the user presses the Tab key, set the TabStop property to True.

False

Assume that you are designing a Form where the user will need to select only one item from a group of displayed choices. This can best be accomplished by using _______.

name boxes

check boxes

radio buttons

text boxes

C

The FormLocation property determines the position of the form on the user's screen when the project is run.

False

You can make labels, text boxes, and picture boxes appear to be three-dimensional by setting the BorderStyle property to Fixed3D.

True

If you would like to change the background color on a form, you must change the form's _____________ property.

ForeColor

BackColor

Appearance

Background

B

The Focus method _______.

will adjust the picture clarity on the monitor

can be used to clear the contents of a TextBox

allows the programmer to set the Tab order

is used to place the insertion point in an object

D

Joining two strings of text is called concatenation.

True

Which of the following is a valid example of concatenation?

Good Morning, " & nameTextBox.Text = greetingLabel.Text
weatherReportLabel.Text = Today's weather will be & weatherTextBox.Text
cityAndStateLabel.Text = cityTextBox.Text AND stateTextBox.Text
messageLabel.Text = messageLabel.Text & " " & nameTextBox.Text

d

To make a PictureBox control larger than the original size, you must set the _______ property to StretchImage.

SizeMode

If you want a form to be centered on the screen when it first appears, you must set the _______ property of the Form.

StartPostion

The programmer can type "/C//" in the The ToolTip on Tooltip1 property and the Tooltip that is displayed will appear centered.

False

The default setting for the Checked property of a check box is True.

False

Sets with similar terms

Gibbs Midterm Test Exam CH2

20 terms

bloosmagoos

C# 2012 Chapter 2

22 terms

jessicakbest

Visual Basic VB1

40 terms

dnaeye

Starting out with Visual Basic 2012, 6e Ch 2

86 terms

Serhiy_Yarosh

Sets found in the same folder

Programming in Visual Basic Chapter 1

26 terms

britt_w88

Programming in Visual Basic Chapter 3

37 terms

britt_w88

Programming in Visual Basic 2010 Chapter 4

27 terms

britt_w88

Programming in Visual Basic 2010 Chapter 5

39 terms

britt_w88

Other sets by this creator

Chapter 12 COBOL

21 terms

britt_w88

Cobol Ch 10

12 terms

britt_w88

COBOL Chapter 7

20 terms

britt_w88

Exam 3 Chapter 8,9,10

14 terms

britt_w88

Other Quizlet sets

Antepartum, Intrapartum, Postpartum - ATI Book Que…

30 terms

Abigail_Kempfer9

Theology- Midterm

14 terms

ncicalese22PLUS

PSYCH EXAM 3 - THE BEREAVED INDIVIDUAL

23 terms

KenedieMariahPLUS

Biology Vocab

56 terms

umadbro3242

Related questions

QUESTION

T or F: the save as screen appears every time you click the save button

5 answers

QUESTION

A personal computer that fits into a workspace such as a desk or counter.

4 answers

QUESTION

When is it appropriate to yell at a user?

15 answers

QUESTION

What devices can be both an input and output device.

15 answers

How do I add a button to Windows form?

Add buttons in a layout panel.
Select the TableLayoutPanel on the form. ... .
Set the FlowLayoutPanel's Dock property to Fill. ... .
Select the new FlowLayoutPanel, and then open the Toolbox and select Common Controls. ... .
Double-click Button again to add another button. ... .
Add two more buttons this way..

What is the accept button?

On any Windows Form, you can designate a Button control to be the accept button, also known as the default button. Whenever the user presses the ENTER key, the default button is clicked regardless of which other control on the form has the focus.

What is form list out the properties of form type in C#?

Properties.

How do you display a form in C #?

Press F5 to build and run the application. Click on the button in the main form to display the sub form. Now, when you press the button in the sub form, the form will be hidden.

Chủ Đề