6 hours ago
I am testing the AntView control in Visual FoxPro 9.
The object creates without OLE errors, but the control area remains completely blank even after navigating to a string.
PUBLIC oForm
oForm = CREATEOBJECT("Form")
oForm.Width = 600
oForm.Height = 400
oForm.AddObject("lblTest", "Label")
oForm.lblTest.Caption = "THIS TEXT IS COVERED BY THE BLANK BROWSER"
oForm.lblTest.AutoSize = .T.
oForm.lblTest.Visible = .T.
oForm.AddObject("oBrowser", "OLEControl", "AntViewAx2.Antview")
oForm.oBrowser.Width = 600
oForm.oBrowser.Height = 400
oForm.oBrowser.Visible = .T.
oForm.oBrowser.NavigateToString("<h1>Test</h1>")
oForm.Show()
Please note that my 30-day trial license has just expired.
What I am doing wrong?
Is the blank screen caused by the expired license, or is it a different issue?
The object creates without OLE errors, but the control area remains completely blank even after navigating to a string.
PUBLIC oForm
oForm = CREATEOBJECT("Form")
oForm.Width = 600
oForm.Height = 400
oForm.AddObject("lblTest", "Label")
oForm.lblTest.Caption = "THIS TEXT IS COVERED BY THE BLANK BROWSER"
oForm.lblTest.AutoSize = .T.
oForm.lblTest.Visible = .T.
oForm.AddObject("oBrowser", "OLEControl", "AntViewAx2.Antview")
oForm.oBrowser.Width = 600
oForm.oBrowser.Height = 400
oForm.oBrowser.Visible = .T.
oForm.oBrowser.NavigateToString("<h1>Test</h1>")
oForm.Show()
Please note that my 30-day trial license has just expired.
What I am doing wrong?
Is the blank screen caused by the expired license, or is it a different issue?

