This issue has been raised before, but as a newbie I've just come across it. I want to run some code once when I press a button, start a timer, and for the code to be repeated under timer events until I release the button. The problem is that the button_down event runs twice: in fact I get _down, _up, _down events. (If I press/release the button quickly I do get just one _down,_up sequence.)
In one post on this topic it was suggested that this is a known issue, and using a panel instead of a button would solve the problem. Is this true?
I notice that when using the Designer to add buttons and button-events the _down and _up events are no longer listed as options. (B4A v 7.0) Are they deprecated?
Edit: I now see that Erel advises (when hovering over Button keyword) that the _down and _up button events may not work on some devices. Apologies for unnecessary post!
In one post on this topic it was suggested that this is a known issue, and using a panel instead of a button would solve the problem. Is this true?
I notice that when using the Designer to add buttons and button-events the _down and _up events are no longer listed as options. (B4A v 7.0) Are they deprecated?
Edit: I now see that Erel advises (when hovering over Button keyword) that the _down and _up button events may not work on some devices. Apologies for unnecessary post!
Last edited: