Disable
Invoked to indicate that the plugin can not be used. It is normally called when the settings the plug-in changes do not apply to the user's system (for example, the plug-in changes settings for Windows NT and the current OS is Windows 98).
Parameters:
(none) |
Remarks:
This procedure should only be called in the Initialize event or before because else it will have no effect.
Example:
Sub Plugin_Initialize
If RegPathExists("HKLM\Software\Microsoft\Windows NT") then 'if we are running on Windows NT
... 'do something
else
'no Windows NT, no plug-in
Disable
end if
end sub