Modify Method

Applies To   See Also

Opens a file in a project for modification in the appropriate designer or editor.

Syntax

Object.Modify([cClassName])

Arguments

cClassName

Specifies the name of the visual class to open for modification when Object is a .vcx visual class library.

Remarks

The Modify method returns true (.T.) if the file is successfully opened for modification; otherwise false (.F.) is returned.

The QueryModifyFile event occurs before the file is opened. If the QueryModifyFile event returns false (.F.), the file isn’t opened and the Modify method returns false (.F.). If the QueryModifyFile method returns true (.T.), the file is opened and the Modify method returns true (.T.).