Programming with Reflection
BeforeTransmitString
event
Syntax Private Sub Session_BeforeTransmitString(TheString As String, Continue As Boolean)
This event is triggered before Reflection transmits a character or a string of characters.
TheString Argument type: String
The character that is about to be transmitted. If the value of TheString
is changed in the BeforeTransmitString
event procedure, Reflection transmits the new character(s) instead.
Continue Argument type: Boolean
Specifies whether Reflection should transmit the character(s). Reflection
sets this argument to True when the event occurs. If you set Continue
to False in the event procedure, Reflection cancels the transmission.
Notes
· Event procedures must be created in the code module for the Reflection Session object (ThisSession).