touch event

  1. Myr0n

    Android Example [B4X] SwiftButton - Adding Click/LongClick event

    The next code add the funcionality in b4x to capture the click & longClick using Touch, in case of b4j add the option to fire the longClick using the Right Mouse Click or the secondary mouse button. - Unzip the file "XUI Views.b4xlib" - Look for the file "SwiftButton.bas" and open - Add the...
  2. F

    Android Question B4XDateTemplate Problem waiting for "ok" or "cancel"

    Hello, i try to use B4XDateTemplate but there is a behavior that i can't influence. The template opens correct and the changes between month and year run as supposed. But when i touch a day, the template is immediately closed. There is no change to press "ok" or "cancel". This can't be the...
  3. FERNANDO SILVEIRA

    Android Question Moving Labels based on touch event

    Hello Guys, I'm working to move labels on the screen based on touch event, but it seems touch it is only available at activity level. Is that true? I based my research on the ThreeActivityExample.b4a project. Sub Activity_Touch (Action As Int, X As Float, Y As Float) Private dX, dY As...
Top