Specifies multiple properties for an object.
Syntax
WITH ObjectName
[.cStatements]
ENDWITH
Arguments
ObjectName
Specifies the name of the object. ObjectName can be the name of the object or a reference to the object.
.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.
Remarks
WITH ... ENDWITH provides a convenient way to specify a number of properties for a single object. Note that you can also execute methods from within a WITH ... ENDWITH structure.