Programming with Microsoft Visual Basic 2015 (MindTap Course List)
7th Edition
ISBN: 9781285860268
Author: Diane Zak
Publisher: Cengage Learning
expand_more
expand_more
format_list_bulleted
Concept explainers
Expert Solution & Answer
Chapter 1.LA, Problem 5RQ
Program Description Answer
All of the following statements are assumed to be true:
- The user can auto-hide a window by pressing the Auto Hide button on its title bar.
- An auto-hide window can appear as a tab on the IDE edge.
- The user can display an auto-hidden window temporarily by clicking its tab.
Hence, correct answer is option “D”.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Application: SnowmanCreate a window application named Snowman that displays a snowman as shown below.Application: Snowman2Write a revised version of the Snowman application named Snowman2 with the followingmodifications:- Add two buttons to the upper torso (any color but white, of course)- Move the sun to the upper-right corner of the picture.- Display your name in the upper-left corner of the picture.- Shift the entire snowman 20 pixels to the right.
PLEASE READ-THIS IS NOT FOR A GRADE!⚠️⚠️⚠️
Using the code below how would you code a Program that should display the average for the first semester and the second semester.Also posted an example
Code:
import tkinter
# Let's create the Tkinter window.
window = tkinter.Tk()
window.title("GUI")
# You will first create a division with the help of Frame class and align them on TOP and BOTTOM with pack() method.
top_frame = tkinter.Frame(window).pack()
bottom_frame = tkinter.Frame(window).pack(side = "bottom")
# Once the frames are created then you are all set to add widgets in both the frames.
btn1 = tkinter.Button(top_frame, text = "Button1", fg = "red").pack() #'fg or foreground' is for coloring the contents (buttons)
btn2 = tkinter.Button(top_frame, text = "Button2", fg = "green").pack()
btn3 = tkinter.Button(bottom_frame, text = "Button3", fg = "purple").pack(side = "left") #'side' is used to left or right align the widgets
btn4 = tkinter.Button(bottom_frame, text =…
Part 1
Create a window application named Snowman that displays a snowman as shown below.
Part 2
Write a revised version of the Snowman application named Snowman2 with the followingmodifications:- Add two buttons to the upper torso (any color but white, of course)- Move the sun to the upper-right corner of the picture.- Display your name in the upper-left corner of the picture.- Shift the entire snowman 20 pixels to the right.
Chapter 1 Solutions
Programming with Microsoft Visual Basic 2015 (MindTap Course List)
Ch. 1.LA - Prob. 1RQCh. 1.LA - Which window is used to set the characteristics...Ch. 1.LA - Prob. 3RQCh. 1.LA - Prob. 4RQCh. 1.LA - Prob. 5RQCh. 1.LA - Prob. 6RQCh. 1.LA - Prob. 7RQCh. 1.LA - Which property determines the initial position of...Ch. 1.LA - Prob. 9RQCh. 1.LA - Prob. 10RQ
Ch. 1.LA - Prob. 11RQCh. 1.LA - Prob. 1ECh. 1.LA - Prob. 2ECh. 1.LA - Prob. 3ECh. 1.LB - Prob. 1RQCh. 1.LB - Prob. 2RQCh. 1.LB - Prob. 3RQCh. 1.LB - Prob. 4RQCh. 1.LB - Prob. 5RQCh. 1.LB - Prob. 1ECh. 1.LB - Prob. 2ECh. 1.LB - Prob. 3ECh. 1.LB - Prob. 4ECh. 1.LC - Prob. 1RQCh. 1.LC - Prob. 2RQCh. 1.LC - Prob. 3RQCh. 1.LC - Prob. 4RQCh. 1.LC - Prob. 5RQCh. 1.LC - Prob. 1ECh. 1.LC - Prob. 2ECh. 1.LC - Prob. 3ECh. 1.LC - Prob. 4ECh. 1.LC - Prob. 5ECh. 1.LC - Prob. 6ECh. 1.LC - Prob. 7ECh. 1.LC - Prob. 8E
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- GUI calculator in python - The user enters two integers into the text fields. - When the Add button is pressed, the sum of values in the text fields are shown after the Equals: as a label. - The Clear button clears the values in the text fields and the result of the previous calculation. The cleared values can be blank or zero. - The Quit button closes the GUI window.arrow_forwardDo as directed. There is an application in which user may check subject check box and enter subject marks in relevant text field. In case of checking check box relevant text field state is changed to editable and by unchecking check box relevant text field state is changed to read only, you have to Write a code for “Total and Average Quality Points” button in which you have to calculate total points, average point and show in relevant fields. Also write code for click event of check boxes. Average Points = Total Points/Number of Coursesarrow_forwardOption 2:Withdraw: This will provide another window (Do not use JOptionPane) with a textbox to enter the amount of money the user wants to withdraw. The ATM will not allow the user to withdraw an amount greater than the current balance.Option 3Deposit: This will provide another window (Do not use JOptionPane) to allow the user to deposit no amount greater than 10.000 should be deposited on the ATM. In a case the user wants to deposit an amount greater than 10.000 a message box should be displayed Stating “No amount greater than 10.000 will be deposited. Please contact the bank”.Option 4Print: this option should print the current balance, the name of the user, and the current date.Option 5Exit: This option should terminate the program.Option 6Back: This option will take back the user to the welcome windowarrow_forward
- 14 - final question Assuming you have placed a button called button 1 on your Windows Form and you have created a button click event by double clicking the button. Which one is the correct header for this method? a. private void button1_Click(object sender, EventArgs e) b. private button1_Click(object sender, EventArgs e) c. private void button1Click(object sender, EventArgs e) d. private void Click(object sender, EventArgs e)arrow_forward//4. toggleCommentButton // Receives a postId as the parameter //b. Selects the button with the data-post-id attribute equal to the postId received as a //parameter //c. If the button textContent is 'Show Comments' switch textContent to 'Hide //Comments' //d. If the button textContent is 'Hide Comments' switch textContent to 'Show //Comments' //e. Suggestion (not required) for above: try a ternary statement //f. Return the button element Help fix this function in JavaScript const toggleCommentButton = (postID) => { if (!postID) { return; } const selectedButton = document.getElementById(selectMenu); //document.querySelector('button'); if (selectedButton != null) { selectedButton.textContent === "Show Comments" ? (selectedButton.textContent = "Hide Comments") : (selectedButton.textContent = "Show Comments"); } return selectedButton; };arrow_forwardOCaml Code: Make sure to show the full code and take a screenshot of the output. Make sure to use various test cases as well. There must be no error in the code at all.arrow_forward
- How does assigning an access key to a button change the button’s appearance?arrow_forwardWhen CreateWindowEx is called, how is the window’s appearance information transmittedto the function?arrow_forwardLabel and Button Widgets. Update the tkhello3.py script so that there are three new buttons in addition to the QUIT button. Pressing any of the three buttons will result in changing the text label so that it will then contain the text of the Button (widget) that was pressed. Hint: you will need three separate handlers or, customize one handler with arguments preset (still three function objects). In pythonarrow_forward
- 2- final question Assuming you have placed a button called button1 on your Windows Form and you would like to change the text of the button to "Clicked!" as soon as the button is clicked. Which statement should be placed in button click event method? E Fr. Clicked! a. button1. Tag = "Clicked!"; b. button1. Label = "Clicked!"; C. button1. Name = "Clicked!"; d. button1. Text = "Clicked!"; a) a b c) O c d) O darrow_forwarddo in any gui programming language Code the Start button to initialize the game. When Start is clicked you need to make the top label and the Start button invisible. You should also clear the contents of the Results label and make it visible, and make label 1 visible. Make the Guess button visible and make it the AcceptButton. Some of this might seem redundant but we want to use this procedure to allow the user to play again so we are programming it to restore all the start up conditions of the program. Create a Number It should have 1 variable: vNumber which has a normal property declaration. Instead of assigning value to the number variable type in the following code:Dim aRandom as new RandomvNumber = aRandom.Next(1,100)This creates a random number between 1 and 100 – the number the user will try to guess. Be sure to initialize this in the btnStart sub by assigning some value to it (theNumber.Number = 5). In the object create a subroutine called IsEqual with 2 parameters. The first…arrow_forwardPsa-THIS IS NOT A GRADED QUESTION! Using tkinter how do you code this to make what I posted below? Display all outputs to the user on the GUI not in the console. some things to follow- Data must be entered by the user and the collected data is to be used to help the user determine what is needed to pass the course. (6) Program should display the average for the first semester and the second semester. (2) Program should display if the user passed the first or second semester. (2) Program should display the needed cycle grades in order to pass the semester (first and second) (2) Program should display if the user gains credit for the full course or part of course or none at all. (1) Program should display the overall course average. (1) Program should have some way of clearing all data and displays to start over for different course (1) Program outputs correct data calculation. (1)arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- EBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENTMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Programming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning