Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VFP] Default back color of Antview control
#4
Next release of AntView has a new property transparent which you can set in order to prevent the flashing of the AntView control.

However, there's a few things to keep in mind.
You can only see the transparency before navigation or if your html page has a transparent background color set.

Besides that somehow VFP is still setting a background color for the control.
You can work around that by setting the color the same as the color of the underlying control. If that is a form control then that code would look like so:
Code:
thisform.oAntView.object.Transparent = .T.
thisform.oAntView.Color = thisform.BackColor

The need to set the color there is not required on all development environments. So far we've only seen this on VFP, but it is certainly possible that there are other environments that need a similar workaround.
--
Wil
Reply


Messages In This Thread
RE: [VFP] Default back color of Antview control - by wila - 2026-03-24, 15:43:45

Forum Jump:


Users browsing this thread: 1 Guest(s)