K kohle Active Member Licensed User Longtime User Sep 30, 2016 #1 I added a menu with addmenuitem to the activity. In the click event I use a msgbox or dialogs show. After the dialog is shown the app crashes. I am using the new B4A 6.30
I added a menu with addmenuitem to the activity. In the click event I use a msgbox or dialogs show. After the dialog is shown the app crashes. I am using the new B4A 6.30
DonManfred Expert Licensed User Longtime User Oct 1, 2016 #2 You are missing the uploaded project. You are missing the posted errormessage from the log
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2016 #3 This is not a bug. You shouldn't show modal dialogs in the menu click event (see the documentation). Use CallSubDelayed to call a method from the menu event and show the msgbox there.
This is not a bug. You shouldn't show modal dialogs in the menu click event (see the documentation). Use CallSubDelayed to call a method from the menu event and show the msgbox there.
K kohle Active Member Licensed User Longtime User Oct 7, 2016 #4 ok. Understand. Manfred, there was no log entry and only the dialog that the app stopped.
K kohle Active Member Licensed User Longtime User Oct 11, 2016 #5 For info : Activity.AddMenuItem3 and Activity.AddMenuItem2 works fine with modal dialogs. If possible please make it, all the same behavior , not 2 ok and 1 dont. This is really confusing.
For info : Activity.AddMenuItem3 and Activity.AddMenuItem2 works fine with modal dialogs. If possible please make it, all the same behavior , not 2 ok and 1 dont. This is really confusing.