User (Legacy) Posted August 15, 2003 Report Share Posted August 15, 2003 Im stuck and thick. I cant seem to write client code for print a chart in landscape. All I got is this <script language="VBScript"> <!-- sub Chart_Print() Chart1.Printer.Print() --> end sub </script> Then I have a print button, what do I put behind it....? Does anyone have this code? Greatly appreciated! TIA Elvina Link to comment Share on other sites More sharing options...
Software FX Posted August 16, 2003 Report Share Posted August 16, 2003 I'm sorry, I don't understand your question ? What is it tat you are missing ? -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted August 18, 2003 Author Report Share Posted August 18, 2003 I put the following under the html part of the aspx page <script language="VBScript"> <!-- sub Chart_Print() Chart1.Printer.Print() --> end sub </script> Then I have the button which I put in (html) onclick="Chart_Print()" It compiles and runs. but nothing happens when I click on the button. What am I missing? Is the above code right? I urgently need this to work. Thanks in Advance Elvina "Software FX Support" <support@softwarefx.com> wrote in message news:RAIV3m$YDHA.2076@WEBSERVER1... > I'm sorry, I don't understand your question ? What is it tat you are missing > ? > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted August 18, 2003 Report Share Posted August 18, 2003 This question doesn't seem to be related to Chart FX, you are just having trouble assigning script ton an HTML button. Here is an example of this: <SCRIPT LANGUAGE="VBScript"> <!-- Sub OnClickButton1 () Chart1.Printer.Print End sub --> </SCRIPT> <input type="button" name="button1" value="button" onClick="OnClickButton1()"/> -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.