Wsw_SelectPlugin

Top  Previous  Next

Sub Wsw_SelectPlugin(Handle, ByRef bCancelSelect)

 

This function is called when a user selects a Plugin. This function can test if all conditions are met (for example the existence of an external converter) and cancel the selection if required.

 

Parameters

 

Handle ... Bookmark handle.
bCancelSelect ... Boolean. Default value is False. Set it to True if the Plugin selection should be canceled.

 

Example:

Sub Wsw_SelectPlugin(Handle, ByRef bCancelSelect)

 

   If Not FileExists("c:\converter\doc2txt.exe") Then

      WswMessageBox("The file ""doc2txt.exe"" was Not found!")

      bCancelSelect = True

   End If

End Sub




Translate document: