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