Xoma
(Kumaraswamy)
March 9, 2020, 5:06pm
1
Hi Koders, I am facing an issue
My issue:-
I want to highlight all text in textbox when got focus, i used taifun textbox extension.
I tried:-
I tried to set the global value to text box length then, when it comes to focus, then the all the text would be highlighted in textbox,
Image:-
2nd way I tried
Direct way
I direct made the block to get the textbox text length, Both of them showed the error message
So what should i do
Both of them didn’t work
Vishwas
(Vishwas Adiga)
March 9, 2020, 5:08pm
2
What’s the error message?
Xoma
(Kumaraswamy)
March 9, 2020, 5:12pm
3
alright, now i didn’t get error message, as i did some changes, can you say me the solution to this??
Vishwas
(Vishwas Adiga)
March 9, 2020, 5:13pm
4
What do you see, then?
Is any of the text selected at all?
Xoma
(Kumaraswamy)
March 9, 2020, 5:14pm
5
Nope, just the cursors turns to blue color, which is highlighted color, it dosent highlight a single letter
Vishwas
(Vishwas Adiga)
March 9, 2020, 5:15pm
6
A screenshot would be great.
Also, what’s the text you have entered in the textbox?
Xoma
(Kumaraswamy)
March 9, 2020, 5:15pm
7
its url, please wait sending screenshot
Xoma
(Kumaraswamy)
March 9, 2020, 5:19pm
8
Video:-
Sometime when i set the start position to 0, it shows error message, but not wen 1
Vaibhav
(Vaibhav)
March 9, 2020, 6:45pm
11
Improving on @Boban ’s block above
Try above blocks. You are missing two blocks
SetHighlightColor
RequestFocus
These blocks are given in the extension’s Example Use section. If only you would have read properly. @Xoma
1 Like
Boban
(Boban Stojmenovic)
March 9, 2020, 7:03pm
12
I don’t think this will work for his purpose
Btw, Textbox has highlight color and thereby I didn’t use it…
2 Likes
Vaibhav
(Vaibhav)
March 10, 2020, 3:35am
13
I have checked above blocks (in my previous reply) and they are working as they should. One thing is that the block stop working if I remove or disable the RequestFocus block
, else the blocks are working fine. I will check for Highlight color block, if need to use or not.
1 Like
Taifun
March 10, 2020, 6:39pm
15
Xoma:
doesnt works
what about providing a screenshot of your relevant blocks?
also you might want to elaborate, what exactly does not work…
Taifun
1 Like
system
(system)
Closed
July 28, 2020, 4:16am
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.