ThRuST Well-Known Member Licensed User Longtime User Apr 30, 2018 #1 This code is for Android, but how to do this in B4J? Usage B4X: SimulateClick(BtnTest1) Code B4X: 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 PerformClick.zip 16.2 KB · Views: 310 Last edited: Apr 30, 2018
This code is for Android, but how to do this in B4J? Usage B4X: SimulateClick(BtnTest1) Code B4X: 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.
ThRuST Well-Known Member Licensed User Longtime User May 4, 2018 #21 The main module is 20.000 rows and it's only at v0.52 Alpha Upvote 0
H Holger Behrens Member Jan 18, 2020 #22 stevel05 said: It should be enough that the form is set AlwaysonTop = True. See the attached example. You only need to set it once when the app starts, unless you want to toggle it. Click to expand... This worked for me. Thank you. Upvote 0
stevel05 said: It should be enough that the form is set AlwaysonTop = True. See the attached example. You only need to set it once when the app starts, unless you want to toggle it. Click to expand... This worked for me. Thank you.