SelectScript

<< Click to Display Table of Contents >>

 

SelectScript

Text Text with the code for the OnSelect event. A minimum script for this event can be created by using the AddSelectScript. The String configured in this property (equivalent of using the AddSelectScript method with its Reset parameter in True) must be in the format required by this event. The default script for the OnSelect event is the following:

Sub OnSelect(ActorID, WriteValue, FeedbackValue, Failed)
  Set Tag = Application.GetObject(SelectWriteTag)
  Failed = Not Tag.WriteEx(WriteValue)
End Sub

 

NOTES

Configuring an event's non-standard String to this property generates a script error, except when configuring an empty String.

If this String contains the new line (Chr(10) or vbLf) or carriage return (Chr(13) or vbCr) characters isolated, these characters are replaced by the combination of them (Chr(13) + Chr(10) or vbCrLf).

Was this page useful?