Blue.Sky Active Member Licensed User Longtime User Dec 26, 2015 #1 Hi I have two question 1: can i disable actionbar of edittext when i select text in edittext?(actionbar: copy paste cute and other) 2: can i disable edit of edittext but i able to select part of text? In below image,you can see actionbar that i want to hide it when edittext get focus
Hi I have two question 1: can i disable actionbar of edittext when i select text in edittext?(actionbar: copy paste cute and other) 2: can i disable edit of edittext but i able to select part of text? In below image,you can see actionbar that i want to hide it when edittext get focus
Erel B4X founder Staff member Licensed User Longtime User Dec 27, 2015 #2 You can handle the LongClick event. However it will disable selection at all. I don't see how you can allow selection and disable the action items. Another thing that you can do is to handle the TextChanged event and force it to be the text you want it (making it read-only). Upvote 0
You can handle the LongClick event. However it will disable selection at all. I don't see how you can allow selection and disable the action items. Another thing that you can do is to handle the TextChanged event and force it to be the text you want it (making it read-only).
Blue.Sky Active Member Licensed User Longtime User Dec 27, 2015 #3 Erel said: You can handle the LongClick event. However it will disable selection at all. I don't see how you can allow selection and disable the action items. Another thing that you can do is to handle the TextChanged event and force it to be the text you want it (making it read-only). Click to expand... Erel i knew your answer.is there other solution? Upvote 0
Erel said: You can handle the LongClick event. However it will disable selection at all. I don't see how you can allow selection and disable the action items. Another thing that you can do is to handle the TextChanged event and force it to be the text you want it (making it read-only). Click to expand... Erel i knew your answer.is there other solution?