jimich Member Licensed User Longtime User Jan 28, 2015 #1 Hi, How can I make EditText to not edited? It can only be edited later when for example at the press of a button. thanks for kind reply,
Hi, How can I make EditText to not edited? It can only be edited later when for example at the press of a button. thanks for kind reply,
NJDude Expert Licensed User Longtime User Jan 28, 2015 #2 You can disable/enable it like this: B4X: EditText1.Enabled = False Upvote 0
jimich Member Licensed User Longtime User Jan 28, 2015 #3 NJDude said: You can disable/enable it like this: B4X: EditText1.Enabled = False Click to expand... Hi NJDude, Thanks for your fast reply! But when I set to that, I can't make a SCROLL to that long text, and I need it to scroll. I have all like these: edtText.Text=txt edtText.SingleLine=False edtText.Wrap=True edtText.ForceDoneButton=True And I even try your suggestion also. And I don't want to change to Label. Last edited: Jan 28, 2015 Upvote 0
NJDude said: You can disable/enable it like this: B4X: EditText1.Enabled = False Click to expand... Hi NJDude, Thanks for your fast reply! But when I set to that, I can't make a SCROLL to that long text, and I need it to scroll. I have all like these: edtText.Text=txt edtText.SingleLine=False edtText.Wrap=True edtText.ForceDoneButton=True And I even try your suggestion also. And I don't want to change to Label.
NJDude Expert Licensed User Longtime User Jan 28, 2015 #4 You cannot disable the scroll only, you disable the view. Upvote 0
jimich Member Licensed User Longtime User Jan 28, 2015 #5 NJDude said: You cannot disable the scroll only, you disable the view. Click to expand... Hi NJDude, It's ok for me to have scroll my EditText, and that's what I need. But when I set EditText (ie. EditText1.Enabled = False), it doesn't scroll. Maybe, what I need is the virtual keyboard not to appear... Thanks again, Upvote 0
NJDude said: You cannot disable the scroll only, you disable the view. Click to expand... Hi NJDude, It's ok for me to have scroll my EditText, and that's what I need. But when I set EditText (ie. EditText1.Enabled = False), it doesn't scroll. Maybe, what I need is the virtual keyboard not to appear... Thanks again,
NJDude Expert Licensed User Longtime User Jan 28, 2015 #6 I think you are not understanding, when a view is disabled means it cannot be used until you enable it again; to make the keyboard not to appear then try the IME library. Upvote 0
I think you are not understanding, when a view is disabled means it cannot be used until you enable it again; to make the keyboard not to appear then try the IME library.