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". |
See Also | ActiveForm, ActiveProject, AutoYield, Caption, DataToClip, DefaultFilePath, DoCmd, EditorOptions, Eval, Forms, FullName, Height, Help Method, hWnd, LanguageOptions, Left, Name, Objects, OLERequestPendingTimeout, OLEServerBusyRaiseError, OLEServerBusyTimeout, Parent, ProcessID, Projects, Quit Method, RequestData, _Screen, ServerName, SetVar, StartMode, StatusBar, ThreadID, Top, Version, VFPXMLProgID, Visible, Width |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.