Jump to content
Software FX Community

Printing landscape


User (Legacy)

Recommended Posts

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

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

Archived

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

×
×
  • Create New...