Delphi Xe7 Android Implementation Transparency can be adjusted by the dialog box

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.