E ernschd Active Member Licensed User Longtime User Aug 24, 2022 #1 Hello, I am using a CustomDialog in a CodeModule. I would like to replace it with a B4XDialog, but I have noticed that an Activity must be passed as a parameter during initialization: B4X: Copy B4XDialog.Initialize(Parent As B4XView) What other parameters can I pass here? Or is there another solution so that I can reuse the B4XDialog? Thank you.
Hello, I am using a CustomDialog in a CodeModule. I would like to replace it with a B4XDialog, but I have noticed that an Activity must be passed as a parameter during initialization: B4X: Copy B4XDialog.Initialize(Parent As B4XView) What other parameters can I pass here? Or is there another solution so that I can reuse the B4XDialog? Thank you.
DonManfred Expert Licensed User Longtime User Aug 24, 2022 #2 ernschd said: in a CodeModule Click to expand... Code modules does not have a context. Use a Class or a Service. Upvote 1
ernschd said: in a CodeModule Click to expand... Code modules does not have a context. Use a Class or a Service.