RC-WinTrans Object Model Help |
Application.BeforeRemoveFile |
Event fired before a project file is removed.
Syntax: |
BeforeRemoveFile(Project As TranslationProject, ProjectFile As ProjectFile, Cancel As ReturnBoolean) |
Parameters: |
Project Project containing the project file that will be removed. ProjectFile Project file that will be removed. Cancel False: No cancellation of the remove process. The project file will be removed. True: Remove process will be canceled. The project file will not be removed.
|
Example: | ' in a class module "EventClass" Dim WithEvents App As Application Private Sub App_BeforeRemoveFile(ByVal Project As TranslationProject, _ ByVal ProjectFile As ProjectFile, ByVal Cancel As ReturnBoolean) [...] End Sub ' in a module Public EventManager As New EventClass Sub TestMacro() Set EventManager.App = Application End Sub |
See also: