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