Application, _VFP
We considered putting "Application" twice in the heading above because Application is one of the many FoxPro keywords with more than one meaning. It's both a property and an object. Both refer to a VFP automation server, though. _VFP is a system variable that provides a reference to the Automation server.
Usage |
Application.Property = uValue _VFP.Property = uValue uValue = Application.Property uValue = _VFP.Property Application.Method() _VFP.Method() |
Example |
oProj = _VFP.ActiveProject && Grab a reference. Application.Top = 35 && Position VFP Application.Height = 100 && and size it. |
Usage |
oApp = oObject.Application |
Example |
o = CreateObject("Form") && Create a form. ? o.Application.Name && Returns "Microsoft Visual FoxPro". |