Condividi tramite


QueryAddFile Event

Occurs just before a file is added to a project.

PROCEDURE Object.QueryAddFile
LPARAMETERS cFileName

Parameters

  • cFileName
    Contains the name of the file to add to the project. cFileName is passed to the QueryAddFile event after the Add method is executed, you choose Add in the Project Manager, or you choose Add File from the Project menu.

Remarks

Include NODEFAULT in the QueryAddFile event to prevent a file from being added to the project.

See Also

Add Method | QueryModifyFile Event | QueryRemoveFile Event | QueryRunFile Event | QueryNewFile Event

Applies To: ProjectHook Object