F falbertini Member Licensed User Longtime User Nov 24, 2014 #1 Sometimes when I click on a TextField or Button with Enabled=False the app is freezed; the device I am using is an IPhone 4S.. Is there a workaround for this problem? I am the only one experiencing this problem? Thanks
Sometimes when I click on a TextField or Button with Enabled=False the app is freezed; the device I am using is an IPhone 4S.. Is there a workaround for this problem? I am the only one experiencing this problem? Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 25, 2014 #2 Can you upload a small example that demonstrates this issue?
F falbertini Member Licensed User Longtime User Nov 25, 2014 #3 Hello, attached you can find an example with the problem.. Clicking on the not enabled textbox the app freezes Thanks Attachments TestApp.zip 237.8 KB · Views: 306
Hello, attached you can find an example with the problem.. Clicking on the not enabled textbox the app freezes Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 26, 2014 #4 It is a bug in your code. You are using a SideMenuController and setting both side pages to null. When the textfield is disabled it doesn't handle the click event. So it is passed to: B4X: Sub Page1_Click smc.OpenLeftMenu End Sub Here you are trying to open the left menu. However for this to work you should have set a "left" page.
It is a bug in your code. You are using a SideMenuController and setting both side pages to null. When the textfield is disabled it doesn't handle the click event. So it is passed to: B4X: Sub Page1_Click smc.OpenLeftMenu End Sub Here you are trying to open the left menu. However for this to work you should have set a "left" page.
F falbertini Member Licensed User Longtime User Nov 26, 2014 #5 Thank you! Now everything works perfect