Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VFP] - Blank form
#1
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?


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
[VFP] - Blank form - by cernik - 7 hours ago
RE: [VFP] - Blank form - by wila - 5 hours ago

Forum Jump:


Users browsing this thread: 1 Guest(s)