How can i get one button to perform 2 operations.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
something like this, set up a global variable
iand set it to 0. then when you click the button the first time it will do the first code then setito 1. the second time it will do the second code and setiback to 0, so you can loop through those 2 every other push of the button.