How to set TEdit to borderless or make it Flat in Firemonkey Android? Or any alternative input field that has borderless or flat option?
1 Answers
1
votes
Two routes...
Styles:
use the following link to help you obtain original default style.From there you can use a copy of the style, and make changes as you wish via dropping a TStylebook and double clicking-> Loading your copied style -> after you make changes, then save and apply.. Then simply change the stylebook property for the form...
http://delphihaven.wordpress.com/2013/12/31/inspecting-platform-styles-redux/
Retangles and Edits:
Make use of the already implemented styles. First drop a TRectangle to act as your TEdit. Change the fill.color/stroke.color as you want... Then drop a TEdit ontop of the rectangle and change it's Stylelookup prop to, 'transparentedit'
Visible := False
and thenEdit.Repaint
; – Peter