AddSelectScript

<< Click to Display Table of Contents >>

 

AddSelectScript

AddSelectScript([Reset])

This method adds a default script to the OnSelect 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 SelectScript property.

Was this page useful?