Rowe_Don
(Rowe Don)
August 31, 2018, 2:37am
1
Hi,
Is there a way to make the background of TTMSFMXEdit transparent (opacity = 0) but have the text visible (opacity = 1)?
Pieter
(Pieter)
August 31, 2018, 9:02am
2
Hi,
Yes, you should search for an element that is called background and then set this element opacity to 0.
Rowe_Don
(Rowe Don)
August 31, 2018, 4:32pm
3
I searched FMX.TMSEdit.hpp for "background" but didn't find anything, and the code editor auto-complete doesn't show "background". Where do I find it?
Pieter
(Pieter)
September 3, 2018, 9:22am
4
Hi,
I forgot to mention that you need to search for the background element inside the style. You can edit the style when right-clicking the component and clicking "Edit Custom Style"
Rowe_Don
(Rowe Don)
September 3, 2018, 6:29pm
5
Thanks Pieter. I found it. I also found a predefined transparent style. TTMSFMXEdit1->StyleLookup = "transparentedit"; does what I need.
Pieter
(Pieter)
September 4, 2018, 8:33am
6
Thanks for your confirmation.