Programming with Reflection

image\rwnprg32.gif RaiseControlEvent method

 

Syntax object.RaiseControlEvent [Param1], [Param2]

 

Description

This method is only relevant if you are using Reflection as an ActiveX control. RaiseControlEvent provides information to the ActiveX control about actions that occur in a Reflection session. To use this method:

1 Map a Reflection feature (an event, toolbar, keystroke, hotspot, menu, or mouse click) to RaiseControlEvent.

2 Handle the event in the application or web page using the ActiveX control's OnReflectionEvent event.

Click here for more information about using Reflection as an ActiveX control. Note: This information is available if you included the System Administrator Online Help when you installed Reflection.

Arguments

Param1 Argument Type: Integer
Optional
Sends numeric information to the ActiveX control. For example, you might use this argument to identify different events by number. The value of this argument is passed to the first argument of the control's OnReflectionEvent event.

Param2 Argument Type: String
Optional
Sends string information to the ActiveX control. For example, you might use this argument to pass information describing the action that called the RaiseControlEvent method. The value of this argument is passed to the second argument of the control's OnReflectionEvent event.

 

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command