click event

  1. nima66

    B4J Question How to not consume the click event

    In Android, I used the following code so that when the transparent panel is touched, the touch is not consumed and when the button is touched, the button event is also executed. Sub Activity_Create(FirstTime As Boolean) Private deleteButton As Button...
  2. Matt S.

    Bug? Click event lost When Using SetLayoutAnimated

    I have a Label in a Panel. When I move the label in the panel by "SetLayoutAnimated", click events will be lost. In other words neither Label.Click() nor Panel.Touch will be called. Note: 1) Everything is Ok without "SetLayoutAnimated" 2) The code runs correctly in B4A. I would be grateful if...
  3. LusazDeveloper

    iOS Question I Need help to open external link from webView

    Hi. I am building an iOS app that has a webview and inside it will show a web page in which there's a link that must open a external app when it's clicked. I did it already in Android with Don Manfred's help...
  4. S

    Android Question How to catch Exoplayer buttons to be able to pause a player when another starts

    Hello, how do I catch the clickitems of the Exoplayer when it's placed on the clv? It seems the player buttons are not catched. What I want is that other players stop when a player is started, now they just play thru each other. I also tried the expandable_clv in another project and with that...
  5. Patent

    B4J Question Difference in JS click() to mouseclick

    Hi community, wanna ask whats the difference (in a B4J WebView) in a real Mouseclick on a Button to one fired programmatically with Dim a as String = $"document.getElementsByClassName("myButton")[0].click();"$ myWebengine.RunMethod("executeScript", Array As String(a)) If i am clicking with...
  6. epiCode

    Android Question B4XDrawer Panel allows click/touch to pass through

    B4XDrawer panel allows all touch / click event to pass to elements below it unless it is on an element in the panel. Although I avoid modification in a class directly, to avoid issues when upgrading, I tried capturing LeftPanel_Click and LeftPanel_touch sub in B4XDrawer but it does not fire...
  7. rleiman

    Android Question [SOLVED] Extracting a value from a label in a custom list view clicked by a user

    Greetings, I'm trying to extract the value from a label that's in the custom list view item that the user clicks. Based on this thread and coding example, I set up this Type structure to get values from my custom list view when an item is clicked. Later I will be adding more items into the...
  8. 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...
  9. ALBRECHT

    Android Question Button Click with passing parameters

    Hello, I have a sub that fill a custom view with a product list. The _ItemClick event is handling perfectly his job , when we are clicking into the global item line, but : that product list (code below) have 2 kind of added buttons which have to launch (with button_Click) 2 differents script...
  10. R

    Android Question ACToolbar 3 vertical dots click event

    Using B4A. Trying to load a settings layout on clicking the 3 vertical dots on the right side of the ACToolbar. These dots (not sure what they are called now) if you tick Use as main action bar in the Designer. I can't find any event that tells me that the user has clicked these 3 dots. Any idea...
Top