Description

Gets or sets the opacity level of the form.

Syntax

Opacity [ = Long ]

Property Value

The level of opacity for the form. The default is 100.

Remarks

This property enables you to specify a level of transparency for the form and its controls. When this property is set to a value less than 100, the entire form, including borders, is made more transparent. Setting this property to a value of 0 makes the form completely invisible. You can use this property to provide different levels of transparency or to provide effects such as phasing a form in or out of view. For example, you can phase a form into view by setting the Opacity property to a value of 0 and gradually increasing the value until it reaches 100.

Windows 2000 Platform Note: This property has no effect on platforms that cannot display layered windows.


The CHM file was converted to HTML by chm2web software.