S swabygw Active Member Licensed User Longtime User Jan 4, 2016 #1 I found this great article (https://www.b4x.com/android/forum/threads/iif.15363/#post-161305) that shows how to write a custom IIf() function and I'm using it by putting the function at the bottom of each of my modules. Is there a way to make this function (or any other custom function) available to all modules? Perhaps, a simple example...
I found this great article (https://www.b4x.com/android/forum/threads/iif.15363/#post-161305) that shows how to write a custom IIf() function and I'm using it by putting the function at the bottom of each of my modules. Is there a way to make this function (or any other custom function) available to all modules? Perhaps, a simple example...
DonManfred Expert Licensed User Longtime User Jan 5, 2016 #2 You can put the method in a CODE Module if it does not change the Activity. For ex name it "fnc.bas" You then can reference fnc.MyFunction in all your Activities. Upvote 0
You can put the method in a CODE Module if it does not change the Activity. For ex name it "fnc.bas" You then can reference fnc.MyFunction in all your Activities.