Modify Method

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

Object.Modify([cClassName])

Parameters

  • 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.).

See Also

Add Method | Remove Method | QueryModifyFile Event

Applies To: File Object