Delphi Xe7 Android Implementation Transparency can be adjusted by the dialog box
To achieve the effect of the dialog transparency can be adjusted, mainly by the layout and rectangle Control, change the rectangle1 fill color to adjust the color of the transparency.
The steps are as follows:
1. Set the property of the form to Transparency to true for the popup window that will be displayed
2. Put the Layout Control, set the properties
Align as client
opacity=0.5// transparency, set range:0---1
3. Put the rectangle Control, drag rectangle1 to Layout1
Rectangle1 's fill.color is set to black .
4. Drag and Drop Rectangle2 controls,Rectangle2 and Layout1 siblings
5. Then drag all the visual controls that you want to display in the Cue box to the Rectangle2
After the above steps have been processed, you can implement a dialog box that can be adjusted for transparency.
:
Demo:http://pan.baidu.com/s/1nt7lqdv
Delphi Xe7 Android Implementation Transparency can be adjusted by the dialog box