WITH ... ENDWITH Command

Specifies multiple properties for an object.

WITH ObjectName [AS <Type> [OF <Class Library>]]
   [.cStatements]
ENDWITH

Parameters

ObjectName

Specifies the name of the object. ObjectName can be the name of the object or a reference to the object.

Type

A base class, class name, or type library. (For Intellisense only)

Class Library

Class library containing the base class, class name, or type library specified with Type. (For Intellisense only.)

.cStatements

cStatements can consist of any number of Microsoft Visual FoxPro commands used to specify properties for ObjectName. Place a period before cStatement to denote that it is a property of ObjectName.

Expand imageRemarks

Expand imageExample

Expand imageSee Also


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