Jump to content
Software FX Community

Custom Menu/Event Trapping


User (Legacy)
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...