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...
Want to see the full answer?
Check out a sample textbook solutionChapter 2 Solutions
Pearson eText for Introduction to Programming Using Visual Basic -- Instant Access (Pearson+)
- A mouse push event and a mouse click event are distinguished from one another by the order in which they take place.arrow_forwardThe difference between a mouse push event and a mouse click event is the order in which they occur.arrow_forwardText boxes are a group of circular buttons, used to select one item from a group. True Falsearrow_forward
- The attribute of a control determines whether or not the control is shown on the form while the form is being executed.arrow_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_forwardPlease replace the alphabet labels with boolean expressions in the following diagram. The textboxes are in order from A to E: X Z A LD B Note: You may use (+) characters to represent sign it required N N A C E Sarrow_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_forward
- The attribute on most controls governs whether or not the control is shown on the form at run time.arrow_forwardIt 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_forward
- COMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L