AddOperateScript

<< Click to Display Table of Contents >>

 

AddOperateScript

AddOperateScript([Reset])

This method adds a default script to the OnOperate event. If there is already a script associated to this event, returns an error unless the Reset parameter (optional) is equal to True. In this case, the existing script is always replaced by the default script, that is, if the Reset parameter is equal to False (default value), an error occurs if the event already contains a defined script. A script can be removed by setting an empty String to the OperateScript property.

Was this page useful?