J jnbarban Member Licensed User Longtime User Feb 10, 2011 #1 Hi, when i put a EditTextBox in state ".enabled = false", i can write on this ? :sign0161: It's Strange ? And when i write on this EditTextBox "Disabled" , i can't remove chars Any Idea ? ps: i'm working on Samsung Galaxy Tabs. Thks.
Hi, when i put a EditTextBox in state ".enabled = false", i can write on this ? :sign0161: It's Strange ? And when i write on this EditTextBox "Disabled" , i can't remove chars Any Idea ? ps: i'm working on Samsung Galaxy Tabs. Thks.
Erel B4X founder Staff member Licensed User Longtime User Feb 10, 2011 #2 So you disable the EditText by setting EditText.Enabled = false and still you can enter characters in the EditText?
So you disable the EditText by setting EditText.Enabled = false and still you can enter characters in the EditText?
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2011 #4 Apparently it is a bug in Android: Issue 2771 - android - Disabled EditText can still be edited using on-screen keyboard - Project Hosting on Google Code You can catch the TextChanged event and set the view's text to the 'old' value. You will need to use a global flag to make sure that you are only changing the text once.
Apparently it is a bug in Android: Issue 2771 - android - Disabled EditText can still be edited using on-screen keyboard - Project Hosting on Google Code You can catch the TextChanged event and set the view's text to the 'old' value. You will need to use a global flag to make sure that you are only changing the text once.