Jump to content
Software FX Community

How do I handle the Right-click UserCommand in WEB Forms

User (Legacy)

Recommended Posts

I have read the article at

http://support.softwarefx.com/news/ForumFrame.aspx?Forum=chartfx.net.general&Article=ge5bfsgdeha-196.htm .

But I still have no idea to handle the Right-click UserCommand.

Could you tell me in this format :

<script lang="JavaScript" for="Chart1" event="UserCommand( ? ? ?... )">

Or, something that I need to know.

Thanks a lot!

Link to comment
Share on other sites

To capture the UserCommand event (client-side):

<object id="Chart1"

classid="/chartfx62/download/chartfx.internet.client.dll#SoftwareFX.ChartFX.Internet.Client.Chart" WIDTH="600px" HEIGHT="480px" ><PARAM NAME="DataPath" VALUE="/chartfx62/temp/CFV0716_0241002F1AE.CHW"></object><SCRIPT LANGUAGE="JavaScript" FOR="Chart1" EVENT="UserCommand(commandID)"><!--// Your code for processing the user commands goes here--></SCRIPT>Note that in order to receive Client-Side events, MainClient must be set toFalse in the server:<%Chart1.MainClient = false;%>--FPSoftware FX

Link to comment
Share on other sites

Thanks a lot!

Although it is enough to me, but I want to know more deeply, ex: what

attributes do attach to the "commandID", etc.

Can you direct me to any document mention about these?

Because I can't find it in API help document, and I don't know how to find

these in your web site.

Thanks again.

"SoftwareFX Support" <noreply@softwarefx.com>

Link to comment
Share on other sites


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

  • Create New...