Objects Collection

An array to access objects in an Application object.

ApplicationObject.Objects(nIndex)

Return Value

  • nIndex
    Uniquely identifies an object in the Application object. Note that nIndex might not correspond to the order in which the objects were created.

Remarks

Applies To: Application Object | _VFP System Variable | _SCREEN System Variable | Column Object | CommandGroup Control | Container Object | Control Object (Visual FoxPro) | Custom Object | DataEnvironment Object | Form Object | FormSet Object | Grid Control | OptionGroup Control | Page Object | PageFrame Control | ToolBar Object

The Objects collection can be used to determine the current objects for an Application object. The Column, CommandGroup, Container, Control, Custom, DataEnvironment, Form, FormSet, Grid, Page, PageFrame, OptionGroup, and Toolbar objects have collections, and these collections may appear in the Debug window.

See Also

Reference

Forms Property

Other Resources

Objects, Collections, and Classes