Contents - Index - Top


Transparent

Interface AntView 

 

Type: Property

Access: Read/Write

Data Type: Boolean

 

 

If you set this property to true then the control will become transparent.

To see this transparancy you either need to not load a document in the control, or load a document which has a transparent background set in the html.

If you set the control to be displayed transparent, it will always override the current setting of DefaultBackgroundColor.

 

The default value for the transparent property is False.

 

 

In Visual FoxPro you need to also set the color of the control to the value of the color of the control that is hosting our AntView control. This means that if the control is sitting in a form then you can add the following to the form's init procedure to make the control show up with its transparency set.

 

thisform.oAntView.object.Transparent = .T.

thisform.oAntView.Color = thisform.BackColor

 

We've not seen this issue in other development environments.

 

Introduced in AntView release 2.0.629

 


AntView - The MS Edge WebView2 ActiveX control Date last changed: 2026/07/13