Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Passing Event parameters by Ref
The WebContextMenu event allows you to alter the MenuStruct of a WEBVIEW control's context menu. This is passed back through the event's MenuStruct parameter.
Ideally this would mean qualifying the MenuStruct parameter by Ref in the Event Module (as you would in a Service Module) - right? Eg
but Event Modules don't seem to support this.
A solution is just to set Param2 = MenuStruct before End Event.
Ideally this would mean qualifying the MenuStruct parameter by Ref in the Event Module (as you would in a Service Module) - right? Eg
Event WEBVIEW.WebContextMenu( MenuID, Ref MenuStruct, Xpos, Ypos, TargetInfo, DefaultStruct, AttachOnly)
but Event Modules don't seem to support this.
A solution is just to set Param2 = MenuStruct before End Event.