irenem
1
Is it possible to change the background color of a text_area?
I have a method that changes the color of the fields in a form. Something like:
forms.myForm.elements.myField.bgcolor = '#000000'
It’s very simple but when I run it, all field changes with exception of the text_areas. ![Shocked :shock:]()
Any suggestions for a workaround?
Harjo
2
If it’s not working, than the best way is to file it into the support system of Servoy!
pcm
3
HI,
irenem,
I have also used
Code:
forms.myForm.elements.myField.bgcolor = ‘#000000’
Sorry All. It was not working in my case also
IT2Be
4
t’ll not work. It will work if ur form in tab pannel and tab pannel should placed, where ur calling the color change method.
This does not make sense to me. Is at least not expected behavior.
Like HJK said, it should work. In both web and smart client…
irenem
5
Tank you all for the replies.
The strange thing is that it works in the web client, it just dont in the developer.
Anyway, I have filed it to the support system i’m wandering what they will say.
TIP: UNCHECK the “transparent” checkbox on the element. Then it will show the background color. ![Very Happy :D]()
irenem
7
Hello Bob,
I feel like an idiot. Thank you to remind me that life is not always so complicated.
IT2Be
8
hmm, should have thought about that…
Thanks Bob, for making my day ![Smile :)]()