JonPM Well-Known Member Licensed User Longtime User Oct 25, 2011 #1 I am working on my first app. It consists of a TabHost with scrollviews. The main page has about 20 buttons. The second tab is a Favorites screen which will hold the users favorite buttons. I am trying to make it so that when the user long clicks on a button on the main screen, it will ask whether or not to add the button to the Favorites screen. I am not sure how to accomplish this. Any ideas?
I am working on my first app. It consists of a TabHost with scrollviews. The main page has about 20 buttons. The second tab is a Favorites screen which will hold the users favorite buttons. I am trying to make it so that when the user long clicks on a button on the main screen, it will ask whether or not to add the button to the Favorites screen. I am not sure how to accomplish this. Any ideas?
Erel B4X founder Staff member Licensed User Longtime User Oct 25, 2011 #2 Creating Buttons at runtime is simple. You should probably only need to copy the original button's text. I recommend you to go over this tutorial: Tick-Tack-Toe: working with arrays of views Upvote 0
Creating Buttons at runtime is simple. You should probably only need to copy the original button's text. I recommend you to go over this tutorial: Tick-Tack-Toe: working with arrays of views