B4J Question Perform click

ThRuST

Well-Known Member
Licensed User
Longtime User
This code is for Android, but how to do this in B4J?

Usage
Code: Copy
SimulateClick(BtnTest1)

Code
Code: Copy
Public Sub SimulateClick(b As Button)
    Dim r As Reflector
    r.Target = b
    r.RunMethod("fire")
End Sub

Attached is the solution source code example. Thanks to Daestrum for the B4J solution.
 

Attachments

Last edited:
Back
Top