Compartir a través de


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

Applies To: File Object

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

Reference

Add Method (File Object)

Remove Method (File Object)

QueryModifyFile Event

Other Resources

Methods (Visual FoxPro)