Week 3 assignment  This program shows how to use an extra tool, which is a butto

Week 3 assignment 
This program shows how to use an extra tool, which is a button in the window.  When you click on the button the program jumps to the ‘terminate’ section. You can create a jump section by giving it any name and place that section somewhere for the program to go to just like the terminate section.
Program 3:
nomainwin
UpperLeftX  = 1
UpperLeftY = 1
WindowWidth = DisplayWidth – 800
WindowHeight = DisplayHeight – 80
BackgroundColor$ = “red”
ForegroundColor$ = “yellow”
statictext #main.static, ” How is my window looking?” , 20,20, 600, 100
button #main.button1, “Exit”,[terminate], UR, 130, 150, 60, 40
open “Sample Window” for window as #main
print #main, “font Arial 16 bold”
wait
[terminate]
notice ” See you later”
close #main
‘notice ” See you later”
end
Use Justbasic software 
Read chapter 3. Review all the documents in the weekly module before doing the assignment.  
Modify program 3 above to create your own program with the following modifications:
a) Choose different background and foreground colors. Make sure thee text is visible.
b) Create two buttons in the window instead of one.
c) Each button should give a different message when clicked.

The post Week 3 assignment 
This program shows how to use an extra tool, which is a butto appeared first on Assignmentio.

GET HELP WITH YOUR HOMEWORK PAPERS @ 25% OFF

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102

Write My Paper Button

WeCreativez WhatsApp Support
We are here to answer your questions. Ask us anything!
👋 Hi, how can I help?
Scroll to Top