modiranghaneipour Member May 12, 2025 #1 hello can i use touch event on button or other itemView aslabel ... _Touch (Action As Int, X As Float, Y As Float) is work on panel only? thanks
hello can i use touch event on button or other itemView aslabel ... _Touch (Action As Int, X As Float, Y As Float) is work on panel only? thanks
Erel B4X founder Staff member Licensed User Longtime User May 12, 2025 #2 There is no Touch event for buttons, however you can add a similar event to any view with the Reflector library. Upvote 0
There is no Touch event for buttons, however you can add a similar event to any view with the Reflector library.
ilan Expert Licensed User Longtime User May 12, 2025 #3 Erel said: There is no Touch event for buttons, however you can add a similar event to any view with the Reflector library. Click to expand... i would prefer keeping it b4x compatible and add a panel with a label that acts like a button. (b4a,b4j,b4i support _touch event on panels) Upvote 0
Erel said: There is no Touch event for buttons, however you can add a similar event to any view with the Reflector library. Click to expand... i would prefer keeping it b4x compatible and add a panel with a label that acts like a button. (b4a,b4j,b4i support _touch event on panels)