Intellicus Enterprise Reporting and Business Insights 18.1

Working with Events

0 views June 28, 2020 0

Section Events

Intellicus Desktop Studio passes three events at section level for all the sections. The sequence of events depends on the summary objects and their section dependencies.

The event sequence is:

Format

This event is fired after the data is loaded and bound to the fields, but before the section is laid out for printing. You can use this event to modify the layout of the section or any of the controls on it.

Note: This is the only event in which you can modify the height of the section.

BeforePrint

It is fired before the section is rendered to the ‘Canvas’ object. You can use this event to modify the values of the controls before they are printed. Any changes that are made here will not affect the height of the section.

Important: It is recommended, NOT to access any report fields in this event. If you need the value of a field in this event, you should use a hidden control to store the value temporarily in the format event.

AfterPrint

It is fired after the section is rendered to the ‘Canvas’ object. You can use this event to update any counters that you need to use after the report is completed.

Intellicus Desktop Studio provides facility to write scripts for field properties and field events using the Script Editor. This enables you to define your own constructs for report generation.