Listen for Events

Stimulsoft Reports.Flex discussion
Locked
tmac16
Posts: 12
Joined: Fri Sep 24, 2010 8:19 am

Listen for Events

Post by tmac16 »

Can I add an Event Listener to the report viewer and listen for a click of the Exit button?

Also, do you have a document or online reference that lists the all the details about each of the Stimulsoft classes?

Thanks.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Listen for Events

Post by Vladimir »

Hello,

You can use the following event:

designer.addEventListener(StiDesignerEvent.EXIT, onDesignerExit);
Also, do you have a document or online reference that lists the all the details about each of the Stimulsoft classes?
Unfortunately, no such documentation regarding Reports.Fx for Flex product. But on the download page you can download .NET class reference, the structure of the classes are similar.

Thank you.
tmac16
Posts: 12
Joined: Fri Sep 24, 2010 8:19 am

Listen for Events

Post by tmac16 »

It is for the Viewer not the designer? What would the addEventListener be then?

i Tried this:

report.addEventListener(StiViewerEvent.EXIT, exitHandler) with no luck.
tmac16
Posts: 12
Joined: Fri Sep 24, 2010 8:19 am

Listen for Events

Post by tmac16 »

Tks for you help, I was able to use this with the viewer:

viewer.addEventListener(StiViewerEvent.EXIT, exitHandler);

Alos, I took you advice and downloaded the StiReport.chm file however, i continually get "Navigation to the webpage was canceled" on any topic i choose. I am running windows 7 and did download the patch to allow access to .chm files. Have these files been tested and run on windows 7? I also tried windows vista with no success.

As a side note, the .chm files that came with the Flex download work fine.

Thanks again.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Listen for Events

Post by HighAley »

Hello.

We had already met such problem but couldn't find out the cause.
Please, try to read our online Class Reference http://stimulsoft.com/documentation/cla ... index.html

Thank you.
Locked