<< Click to Display Table of Contents >>
AddUserEvent |
AddUserEvent(Name, [Link], [Type], [ScanTime], [ChangeOnDisconnect])
Adds a User Event to the Collection of Events and returns this object. This method's parameters are described on the next table.
Parameters of the AddUserEvent method
Parameter |
Description |
---|---|
Name |
Name of this User Event. This is a mandatory parameter |
Link |
Expression to evaluate in this User Event. This parameter is optional and, if omitted, assumes an empty String. It corresponds to the Link property of a User Event object |
Type |
Type of User Event. This parameter is optional and, if omitted, assumes the value 0 (zero). It corresponds to the Type property of a User Event object |
ScanTime |
Time, in milliseconds, to repeat this User Event. This parameter is optional and, if omitted, assumes the value 1000, that is, one second. It corresponds to the ScanTime property of a User Event object |
ChangeOnDisconnect |
Indicates whether the disconnection is handled as a change on the value of the expression of this User Event. This parameter is optional and, if omitted, assumes the value 0 (zero), that is, False. It corresponds to the ChangeOnDisconnect property of a User Event object |