Alejandro Migoya Member Licensed User Longtime User May 28, 2015 #1 I created a button (BtnStart) using the Designer-Window, generated members, and then added this sub manually to my code: Sub BtnStart_Down ... End Sub But my code doen´t trigger the down event. Any suggestions? Thanks
I created a button (BtnStart) using the Designer-Window, generated members, and then added this sub manually to my code: Sub BtnStart_Down ... End Sub But my code doen´t trigger the down event. Any suggestions? Thanks
Erel B4X founder Staff member Licensed User Longtime User May 29, 2015 #2 Are you asking about B4A or B4i? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 29, 2015 #4 There is no such event. Upvote 0
klaus Expert Licensed User Longtime User May 29, 2015 #5 Do you really need the Down event ? If yes, you could use a Panel instead of the Button and use the Touch event. Upvote 0
Do you really need the Down event ? If yes, you could use a Panel instead of the Button and use the Touch event.
Alejandro Migoya Member Licensed User Longtime User May 29, 2015 #6 Thanks for the suggestion Klaus. It´s for a process where the user needs to hold down the button for some time (something happens while button is pressed) and then when button is released another events triggers. I was hopping to use the DOWN and UP events tied to a timer. Any suggestions? Upvote 0
Thanks for the suggestion Klaus. It´s for a process where the user needs to hold down the button for some time (something happens while button is pressed) and then when button is released another events triggers. I was hopping to use the DOWN and UP events tied to a timer. Any suggestions?
klaus Expert Licensed User Longtime User May 29, 2015 #7 As already suggested, use a Panel and in the Touch event you can manage what you want also with the Timer. Upvote 0
As already suggested, use a Panel and in the Touch event you can manage what you want also with the Timer.
Alejandro Migoya Member Licensed User Longtime User May 29, 2015 #8 Thanks Klaus, it´s working now! Upvote 0
narek adonts Well-Known Member Licensed User Longtime User May 29, 2015 #9 Use GestureRecognizer Upvote 0