Event handlers |
Top Previous Next |
A script is mainly used for creating objects' event handlers. For creating event handler select the needed object. In the "Properties" window, press the button, in order to switch on the list of events:
Select the event you want and double click it. FastReport adds an empty event handler into the report code:
private void Text2_BeforePrint(object sender, EventArgs e) {
}
The "Report" object has got events as well. This object can be chosen by the following method:
In order to delete the event handler, choose an event in the "Properties" window, select the text and press the Delete key:
|