DISPLAY OBJECTS Command

Displays information about an object or a group of objects.

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

Parameters

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:

 CopyCode imageCopy Code
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.

ADDITIVE

Appends to the end of the named file. If you omit ADDITIVE, then the file is overwritten with the value of the expression.

NOCONSOLE

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

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic