Izmirov.Yaminovich Member Licensed User Longtime User Jun 23, 2016 #1 Hi, I was trying to do a click to add button where it is like a tracker kind of app which allows you to keep track of your counts. Any idea how to do so. I got a button and a label to show the number. Thanks
Hi, I was trying to do a click to add button where it is like a tracker kind of app which allows you to keep track of your counts. Any idea how to do so. I got a button and a label to show the number. Thanks
mangojack Expert Licensed User Longtime User Jun 23, 2016 #2 Maybe I misunderstand ? Create Process Global varIable .. Dim myCount AS INT Code: Sub Button_Click myCount = myCount +1 Label.Text = myCount End Sub Depending on your needs .. write value of myCount to file for retrieval on next app start. Upvote 0
Maybe I misunderstand ? Create Process Global varIable .. Dim myCount AS INT Code: Sub Button_Click myCount = myCount +1 Label.Text = myCount End Sub Depending on your needs .. write value of myCount to file for retrieval on next app start.
Izmirov.Yaminovich Member Licensed User Longtime User Jun 23, 2016 #3 Oh okay, thanks mate. one more question, how to you set another button to clear it back to 0? Upvote 0
Izmirov.Yaminovich Member Licensed User Longtime User Jun 23, 2016 #4 It's alright, I've already figure it out. Thanks again. Upvote 0