SetEventReturnValue method

Applies to

Syntax

This method sets the return value of an event handler in advance.

This event is used when an event can return more than one value, or when the return value needs to be more than a simple "yes" or "no". Each event that responds to multiple return values are documented in the events section and specifies what it expects as its return values. Multiple return values are always started with an argument number (iArgNo) of 0 (zero).

object.SetEventReturnValue( ArgNo As Long, Value As String)

Part

Description

object

An expression evaluating to an object listed in the 'Applies to' table above.

ArgNo

A long value.

Value

A string value.

Related topic

SetEventServerObject