bernardR Member Licensed User Longtime User Jun 26, 2023 #1 Hello, Despite much research I did not understand the difference between true and false in the javascript command B4A.CallSub('subInB4a', false, data); and B4A.CallSub('subInB4a', true, data); Thank you so much
Hello, Despite much research I did not understand the difference between true and false in the javascript command B4A.CallSub('subInB4a', false, data); and B4A.CallSub('subInB4a', true, data); Thank you so much
Star-Dust Expert Licensed User Longtime User Jun 26, 2023 #2 Does the Sub called by your javascript modify your activity UI? If the answer is yes then you need to pass boolean true as callUIThread otherwise you can pass false. If you pass false and then the Sub tries to modify your activity UI you will get an exception. Upvote 0
Does the Sub called by your javascript modify your activity UI? If the answer is yes then you need to pass boolean true as callUIThread otherwise you can pass false. If you pass false and then the Sub tries to modify your activity UI you will get an exception.