Introduction To Programming Using Visual Basic (11th Edition)
11th Edition
ISBN: 9780135416037
Author: David I. Schneider
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 2.2, Problem 40E
Explanation of Solution
Given: A form is given in which a Button is placed in the center.
To find: The outcome of pressing the arrow key by holding the ctrl key.
Solution:
The title of the form is Form1.
To create the Button, text box, follow the steps given below.
Find the Toolbox option in the fly-out menu.
From there, select the option of Button. Then, drag it and drop it.
The four arrow keys are left, right, top, and down.
All operations are performed by holding any of the arrow key with the ctrl key from the keyboard.
The left arrow key is pressed along with the ctrl key, then the button will shift toward the left end of the form horizontally from the center or the previous position...
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
In the same way as with other controls, the characteristics of a control may influence whether or not it will be shown on the form while it is being executed.
A mouse push event and a mouse click event are differentiated by the sequence in which they occur.
A control's visibility on the form during execution may be affected, like that of any other control, by its properties.
Chapter 2 Solutions
Introduction To Programming Using Visual Basic (11th Edition)
Ch. 2.2 - Prob. 1ECh. 2.2 - While a program is running, a control is said to...Ch. 2.2 - In Exercises 3 through 24, carry out the...Ch. 2.2 - Prob. 4ECh. 2.2 - Prob. 5ECh. 2.2 - Prob. 6ECh. 2.2 - Prob. 7ECh. 2.2 - Prob. 8ECh. 2.2 - Prob. 9ECh. 2.2 - Prob. 10E
Ch. 2.2 - Prob. 11ECh. 2.2 - Prob. 12ECh. 2.2 - In Exercises 3 through 24, carry out the...Ch. 2.2 - Prob. 14ECh. 2.2 - Prob. 15ECh. 2.2 - Prob. 16ECh. 2.2 - In Exercises 3 through 24, carry out the task. In...Ch. 2.2 - Prob. 18ECh. 2.2 - Prob. 19ECh. 2.2 - Prob. 20ECh. 2.2 - Prob. 21ECh. 2.2 - In Exercises 3 through 24, carry out the task....Ch. 2.2 - Prob. 23ECh. 2.2 - Prob. 24ECh. 2.2 - Prob. 25ECh. 2.2 - Prob. 26ECh. 2.2 - Prob. 27ECh. 2.2 - Prob. 28ECh. 2.2 - Prob. 29ECh. 2.2 - Prob. 30ECh. 2.2 - Prob. 31ECh. 2.2 - Prob. 32ECh. 2.2 - Prob. 33ECh. 2.2 - Prob. 34ECh. 2.2 - Prob. 35ECh. 2.2 - Prob. 36ECh. 2.2 - Prob. 37ECh. 2.2 - Prob. 38ECh. 2.2 - Prob. 39ECh. 2.2 - Prob. 40ECh. 2.2 - Prob. 41ECh. 2.2 - Prob. 42ECh. 2.2 - Prob. 43ECh. 2.2 - Prob. 44ECh. 2.2 - The following hands-on exercises develop...Ch. 2.2 - The following hands-on exercises develop...Ch. 2.2 - Prob. 47ECh. 2.3 - Prob. 1ECh. 2.3 - Prob. 2ECh. 2.3 - Prob. 3ECh. 2.3 - Prob. 4ECh. 2.3 - Private Sub Handles btnOutput.Click
End Sub
Ch. 2.3 - Prob. 6ECh. 2.3 - Prob. 7ECh. 2.3 - Prob. 8ECh. 2.3 - Prob. 9ECh. 2.3 - Prob. 10ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 12ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 15ECh. 2.3 - In Exercises 11 through 16, determine the...Ch. 2.3 - Prob. 17ECh. 2.3 - Prob. 18ECh. 2.3 - Prob. 19ECh. 2.3 - Prob. 20ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 22ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 24ECh. 2.3 - Prob. 25ECh. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - In Exercises 17 through 28, write a line (or...Ch. 2.3 - Prob. 28ECh. 2.3 - Prob. 29ECh. 2.3 - Prob. 30ECh. 2.3 - Prob. 31ECh. 2.3 - Write a simple program to demonstrate that a...Ch. 2.3 - Prob. 33ECh. 2.3 - Prob. 34ECh. 2.3 - Prob. 35ECh. 2.3 - Prob. 36ECh. 2.3 - Prob. 37ECh. 2.3 - Prob. 38ECh. 2.3 - Prob. 39ECh. 2.3 - In Exercises 39 through 44, write a program to...Ch. 2.3 - Prob. 41ECh. 2.3 - In Exercises 39 through 44, write a program to...Ch. 2.3 - Prob. 43ECh. 2.3 - In Exercises 39 through 44, write a program to...
Knowledge Booster
Similar questions
- Visual Basic Where do you write code in an event procedure? (Note: Just answer with A, B, or C) A) Here.. Sub btnOne_Click (…) Handles btnOne.Click B) Here.. End Sub C) Here..arrow_forwardwitch step or steps is the incorrect answer form the image below and say what is the correct answerarrow_forwardThe difference between a mouse push event and a mouse click event is the order in which they occur.arrow_forward
- Text boxes are a group of circular buttons, used to select one item from a group. True Falsearrow_forwardExercise (3-4): Create a Visual Basic project to enter an angle value (used InputBox statement). Design the program to find the value of angle (in Degrees, Minutes, and Seconds). Display Degrees, Mínutes, and Seconds in PictureBox. Pointer the controf objects are used on the form window.arrow_forward02 - Rectangular Prisms Prompt the user for three integers representing the sides of a rectangular prism. Calculate the surface area and volume of the prism, then draw three rectangles of asterisks portraying the top, side, and front view of the prism labeled accordingly (which set of numbers represent each view is at your discretion). Enter three integers: 2 5 6 Surface Area: 104 Volume 60 Top View (2 x 5): Side View (2 x 6): Front View (5 x 6):arrow_forward
- A mouse push event precedes a mouse click.arrow_forwardDebugging Exercise 1. Create a Function procedure called calculate cost that calculate the cost of an item and return that amount and prints the item and cost using a label. Using Visual Basic only.arrow_forwardThe attribute on most controls governs whether or not the control is shown on the form at run time.arrow_forward
- It is up to the control's attribute, as is the case with other controls, to decide whether or not a control will be shown on the form while the programme is running.arrow_forwardDirections: The column on the left tells what to search for. On the second column, you will write on the search box what will you type to achieve the task. Apply the use of symbols and tip you've learned. The first one is done for you. Write your answer on a separate sheet of paper. Task Search Term Find web pages Google Atlantis continent that have... all these words: Atlantis continent Google Atlantis continent –shuttle -film –movie But don't show pages that have..any of these unwanted words: shuttle film movie Find web pages Google that have... all these words: | Atlantis Find web pages Google that have... all these words: Waterbury But don't show pages that have... any of Google these unwanted words: Connecticu t CT Find web pages Google that have.. all these words: Waterbury this exact wording or Google phrase: San Diego State University Find web pages Google that have.. the song title of this lyrics: Mama "something'arrow_forwardSelect the correct answer from each drop- down menu. Control structures are used while performing everyday tasks. If you had to make a choice between studies and games during a holiday, you would use the sequence X control structure. If you had to fill your name and address on ten assignment books, you would use the selection X control structure.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L