Condividi tramite


Application Property

Provides a reference to the Application object containing an object. Not available at design time; read-only at run time.

Object.Application.Property [ = Setting]
-or-
Object.Application.Method

Return Value

  • Property
    Specifies any property of the Application object or the _VFP system variable; for example, the Caption property.

  • Setting
    The existing or new setting of the Property.

  • Method
    Specifies any method of the Application object or the _VFP system variable; for example, the DoCmd method.

Remarks

Applies To: CheckBox Control | Column Object | ComboBox Control | CommandButton Control | CommandGroup Control | Container Object | Control Object (Visual FoxPro) | Cursor Object | CursorAdapter Class | Custom Object | DataEnvironment Object | EditBox Control | Form Object | FormSet Object | Grid Control | Header Object | Hyperlink Object | Image Control (Visual FoxPro) | Label Control (Visual FoxPro) | Line Control | ListBox Control | OLE Bound Control | OLE Container Control | OptionButton Control | OptionGroup Control | Page Object | PageFrame Control | ProjectHook Object | Relation Object | _SCREEN System Variable | Separator Object | Session Object | Shape Control | Spinner Control | TextBox Control (Visual FoxPro) | Timer Control | ToolBar Object

Use the Application property to access an Application object's properties and methods from an object contained by the application. The Application property can also be used with the _VFP system variable to access properties and methods for the current instance of Visual FoxPro.

See Also

Reference

CREATEOBJECT( ) Function

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)