This content has been marked as final. Show 7 replies
hi, can you explain well about this.
i cant get your exact problem....
Thanks for the quick reply Arun,
I have a textInput component I am allowing the user to edit. There is default text in the field currently that says "Enter Text Here".
When they click on the field I use:
textLineOne.onSetFocus = function (newFocus)
if (textLineOne.text == "Enter Text Here")
textLineOne.text = "";
This clears the field and it gives them a blinking cursor. But if they make a typo and just want to now select one character, or one word. That word or character doesn't highlight. For instance if I had typed in: "Hello there how are you" and wanted to go back and change the word "there" to "Bob", you can't tell what you have highlighted when you click and drag over that particular word to change it....
i tried what you have told.
but, i cant see any problem as you told.
can you tell me which version you are using ???
I'm using 8 Pro.
Visit this link:
Click the words "Enter Text Here". Those words will disappear and
you will have a blinking cursor in the middle of that field. Now enter "Hi how are you" into the field. After you have entered that, try to select the word "how" by either clicking and dragging or double clicking on it (like any other text editor) the word is selected, but it's not highlighted.....
yes, i saw the link
there is no mistake in the script side.
the problem is the background color and the highlited text color is the same.
you just try to change the bg color or try to change the style of the input text component.
You just check it by changing the bg color.
I'm still not sure I get what you mean I'm using this to set the initial styles of the component
is there a parameter for the highlight color? and if so, would you share the syntax please? :)
oh, and thanks for the link to the bitmap exporter!
i dont know there is style for the focusTextFeild...
Instead you can try to change the component bg color..