DISPLAY OBJECTS Command

Example   See Also

Displays information about an object or a group of objects.

Syntax

DISPLAY OBJECTS
  [LIKE cObjectSkeleton]
  [TO PRINTER [PROMPT] | TO FILE FileName]
  [NOCONSOLE]

Arguments

LIKE cObjectSkeleton

Displays information about a subset of objects. cObjectSkeleton is an object specification skeleton that supports wildcards (* and ?). For example, to display all objects that begin with A, use the following command:

DISPLAY OBJECTS LIKE A*

TO PRINTER [PROMPT]

Directs output from DISPLAY OBJECTS to a printer.

You can include the optional PROMPT clause to display a Print dialog box before printing starts. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName

Directs output from DISPLAY OBJECTS to the file specified with FileName. If the file already exists and SET SAFETY is ON, Visual FoxPro displays a prompt asking if you want to overwrite the file.

NOCONSOLE

Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Remarks

DISPLAY OBJECTS displays the following information about all existing objects:

DISPLAY OBJECTS fills the entire main Visual FoxPro window or user-defined window with information and then pauses. Press any key or click anywhere to see the next set of information. DISPLAY is similar to LIST, except that LIST displays the same information in a continuous stream without pausing.