I have created a custom modal box using B4XDialog. It is saved in its own Sub in one of my activities.
I want to use this sub for many different activities as my standard Modal Dialog for my app.
I have tired copying the code into both a class module and a code module, but neither seem to work with UI/Activity code.
Any suggestions on how to accomplish this aim?
I want to use this sub for many different activities as my standard Modal Dialog for my app.
I have tired copying the code into both a class module and a code module, but neither seem to work with UI/Activity code.
Any suggestions on how to accomplish this aim?