Jump to content
Software FX Community

Custom Menu/Event Trapping


User (Legacy)

Recommended Posts

Hello,

I am using CFxIE and we are creating client-side custom menus. I need

to know how to trap an event so that it will give me the wParam, nSerie and

nPoint elements. I can use the UserCommand() but it doesn't give me the

nSerie or nPoint. I can use RButtonDown() but it doesn't give me the

wParam. It would seem that Menu() would give me all the needed elements but

I cannot get it to work for me.

Any help with the use of Menu() would be greatly appreciated!

- JD

// * * * This Works * * * //

<script language="javascript" for="Chart1" event="UserCommand(wParam,

lParam, nRes)">

alert("Inside the UserCommand Event");

alert( "wParam = " + wParam + "\nlParam = " + lParam + "\nnRes = " + nRes );

Chart1.ReturnValue = 1;

</script>

// * * * This Does Not Work * * * //

<script language="javascript" for="Chart1" event="Menu(wParam, nSerie,

nPoint, nRes)">

alert("Inside the Menu Event");

alert( "wParam = " + wParam + "\nnSerie = " + nSerie + "\nnPoint = " +

nPoint + "\nnRes = " + nRes );

Chart1.ReturnValue = 1;

</script>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...