S strupp01 Active Member Licensed User Longtime User Jul 17, 2017 #1 I have a textfield by changing selected text in the color from black to red in the program possibly with a RadiButton. Is this and if so, how? Perhaps this is the case with this command. But how to apply it to a selected text? Code: Copy CSSUtils.SetStyleProperty (ListView1, "-fx-text-color", "red") For example: "Dies ist soll die Farbe "??????" enthalten"
I have a textfield by changing selected text in the color from black to red in the program possibly with a RadiButton. Is this and if so, how? Perhaps this is the case with this command. But how to apply it to a selected text? Code: Copy CSSUtils.SetStyleProperty (ListView1, "-fx-text-color", "red") For example: "Dies ist soll die Farbe "??????" enthalten"
K keirS Well-Known Member Licensed User Longtime User Jul 17, 2017 #2 You need to use the TextFlow library. Upvote 0
S strupp01 Active Member Licensed User Longtime User Jul 17, 2017 #5 I'm a beginner in B4J and I'm trying to find a bigger project. So I often come across borders. If I find by searching no solution, I hope for help in the net. There are many users who give me this as a beginner and I thus hopefully bring my project to a satisfied end. I hope my questions do not bother too much. Upvote 0
I'm a beginner in B4J and I'm trying to find a bigger project. So I often come across borders. If I find by searching no solution, I hope for help in the net. There are many users who give me this as a beginner and I thus hopefully bring my project to a satisfied end. I hope my questions do not bother too much.
EnriqueGonzalez Expert Licensed User Longtime User Jul 17, 2017 #6 Hi @strupp01 It was a joke from the show "Rick and Morty" one of the characters quotes is: "I'm Mr. Meeseeks! Look at me!" strupp01 said: Thank you. Look at me. Click to expand... http://rickandmorty.wikia.com/wiki/Mr._Meeseeks sorry for the misunderstanding. Upvote 0
Hi @strupp01 It was a joke from the show "Rick and Morty" one of the characters quotes is: "I'm Mr. Meeseeks! Look at me!" strupp01 said: Thank you. Look at me. Click to expand... http://rickandmorty.wikia.com/wiki/Mr._Meeseeks sorry for the misunderstanding.
S strupp01 Active Member Licensed User Longtime User Jul 17, 2017 #7 OK no problem. Since I can not speak English and only work with Google translations, I do not know this figure. Upvote 0
OK no problem. Since I can not speak English and only work with Google translations, I do not know this figure.
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2017 #8 TextArea doesn't support this. HtmlEditor does allow you to use different colors though it is not easy to customize it. Another option to consider: https://www.b4x.com/android/forum/threads/custom-view-richviewfx-codearea.62823/#content Upvote 0
TextArea doesn't support this. HtmlEditor does allow you to use different colors though it is not easy to customize it. Another option to consider: https://www.b4x.com/android/forum/threads/custom-view-richviewfx-codearea.62823/#content