Star-Dust Expert Licensed User Longtime User Aug 23, 2018 #1 Is it possible to make the cursor invisible when you overwrite when writing on testfield?
Erel B4X founder Staff member Licensed User Longtime User Aug 24, 2018 #2 Not sure that I understand. Do you want to allow the user to enter text? If not you can set Enabled to False. Upvote 0
Not sure that I understand. Do you want to allow the user to enter text? If not you can set Enabled to False.
ilan Expert Licensed User Longtime User Aug 24, 2018 #3 Erel said: Not sure that I understand. Do you want to allow the user to enter text? If not you can set Enabled to False. Click to expand... i think he wants to hide the cursor line when writing in a textfield. maybe changing the color of the cursor to transparent could do the job. Upvote 0
Erel said: Not sure that I understand. Do you want to allow the user to enter text? If not you can set Enabled to False. Click to expand... i think he wants to hide the cursor line when writing in a textfield. maybe changing the color of the cursor to transparent could do the job.
Star-Dust Expert Licensed User Longtime User Aug 24, 2018 #4 In Android I would do so B4X: Dim jo = EditText1 As JavaObject jo.RunMethod("setCursorVisible", Array As Object(Visible)) Upvote 0
In Android I would do so B4X: Dim jo = EditText1 As JavaObject jo.RunMethod("setCursorVisible", Array As Object(Visible))
Star-Dust Expert Licensed User Longtime User Aug 24, 2018 #5 ilan said: i think he wants to hide the cursor line when writing in a textfield. maybe changing the color of the cursor to transparent could do the job. Click to expand... exactly Upvote 0
ilan said: i think he wants to hide the cursor line when writing in a textfield. maybe changing the color of the cursor to transparent could do the job. Click to expand... exactly
ilan Expert Licensed User Longtime User Aug 24, 2018 #6 textField.tintColor should do the trick as stated here: https://stackoverflow.com/questions/3699727/hide-the-cursor-of-an-uitextfield Upvote 0
textField.tintColor should do the trick as stated here: https://stackoverflow.com/questions/3699727/hide-the-cursor-of-an-uitextfield
Star-Dust Expert Licensed User Longtime User Aug 24, 2018 #7 Do I have to do in swift? Because I do not understand anything Upvote 0
ilan Expert Licensed User Longtime User Aug 24, 2018 #8 Star-Dust said: Do I have to do in swift? Because I do not understand anything Click to expand... try it like this and see if it works: B4X: Dim tx As TextField tx.Initialize("") tx.TintColor = Colors.Transparent Upvote 0
Star-Dust said: Do I have to do in swift? Because I do not understand anything Click to expand... try it like this and see if it works: B4X: Dim tx As TextField tx.Initialize("") tx.TintColor = Colors.Transparent