问题
How can I make an edit control in fmx transparent and at the same time hide the borders of the control, so it will blend into the control in the back?
What I am trying to do is to make a small Notes program where, when I double-click a tabitem, it shows an edit control to change the text of the tabitem.
回答1:
- Right click the edit control (let's say Edit1) and click 'Edit Custom Style'.
- Expand 'edit1style1'.
- Click background:TActiveStyleObject.
- Clear the SourceLookup property.
来源:https://stackoverflow.com/questions/22301536/how-to-make-an-edit-control-in-fmx-transparent-and-hide-its-border