S Shay7 New Member Licensed User Longtime User Mar 23, 2011 #1 Hi I have few questions 1. I did not understand how can I use the timer, what exactly I need to do? 2. if I have buttons from 1 to 10 and another var called num with numbers of 1 of 10, how can I do something like Button&num.color=colors.red 3. how do I do - when clicking button1 it will play "sound.wav" Thanks Shay
Hi I have few questions 1. I did not understand how can I use the timer, what exactly I need to do? 2. if I have buttons from 1 to 10 and another var called num with numbers of 1 of 10, how can I do something like Button&num.color=colors.red 3. how do I do - when clicking button1 it will play "sound.wav" Thanks Shay
Erel B4X founder Staff member Licensed User Longtime User Mar 23, 2011 #2 1. Add a timer in the designer. You start the timer by settings its Enabled property to True. 2. See the Runtime controls manipulation tutorial: Tutorials - Basic4ppc / Basic4android - Android programming 3. See the Sound keyword.
1. Add a timer in the designer. You start the timer by settings its Enabled property to True. 2. See the Runtime controls manipulation tutorial: Tutorials - Basic4ppc / Basic4android - Android programming 3. See the Sound keyword.
S Shay7 New Member Licensed User Longtime User Mar 23, 2011 #3 Timer Hi thank you for the reply where do I find the timer in the desinger? (Cannot find it) thanks
taximania Well-Known Member Licensed User Longtime User Mar 23, 2011 #4 Select a form from 'Designer' click 'Controls', Timer. Voila
S Shay7 New Member Licensed User Longtime User Mar 23, 2011 #5 Timer I don't see it I assume since I am using the trial version...
M mjcoon Well-Known Member Licensed User Mar 23, 2011 #6 Shay7 said: I don't see it I assume since I am using the trial version... Click to expand... It's a long time since I used the trial version so I don't remember if there was anything missing (I thought only the extra libraries were not available). So what is the last control that you see on the Controls menu, above "Menu Editor"? Mike.
Shay7 said: I don't see it I assume since I am using the trial version... Click to expand... It's a long time since I used the trial version so I don't remember if there was anything missing (I thought only the extra libraries were not available). So what is the last control that you see on the Controls menu, above "Menu Editor"? Mike.
Erel B4X founder Staff member Licensed User Longtime User Mar 24, 2011 #7 Are you asking about Basic4ppc or Basic4android? This is the Basic4ppc subforum.
S Shay7 New Member Licensed User Longtime User Mar 24, 2011 #8 Android My mistake I didn't know there are 2 software so can you answer the above questions for the android software Shay
Android My mistake I didn't know there are 2 software so can you answer the above questions for the android software Shay
Erel B4X founder Staff member Licensed User Longtime User Mar 25, 2011 #9 Instead of adding a timer with the designer you should just write: B4X: Dim Timer1 As Timer I recommend you to follow some of the tutorials listed here: Basic4android - Android programming with Gui designer There is an example of dealing with multiple views in the Variables & Objects tutorial.
Instead of adding a timer with the designer you should just write: B4X: Dim Timer1 As Timer I recommend you to follow some of the tutorials listed here: Basic4android - Android programming with Gui designer There is an example of dealing with multiple views in the Variables & Objects tutorial.