+ 1

Can a button preform multiple actions

16th Jan 2018, 8:45 PM
Campbell
Campbell - avatar
2 odpowiedzi
+ 11
Yes.
16th Jan 2018, 8:55 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
certainly. I made a button in Java today that allows me to change the time limit on a program I wrote to help my kid with Multiplication. When I put in the password and a new time limit and hit the button it resets everything, changes the time limit, and writes it to a save file so next time the program is opened the time limit is loaded. As for having 1 button do different things depending on situation instead of doing a bunch at once, yea you could do that as well.
16th Jan 2018, 11:09 PM
LordHill
LordHill - avatar