Bug? Click on a TextField with Enabled=False freezes app

falbertini

Member
Licensed User
Longtime User
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
 

falbertini

Member
Licensed User
Longtime User
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: 243

Erel

B4X founder
Staff member
Licensed User
Longtime User
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.
 
Top