<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : OZ e-Form Extension > OZ e-Form JavaScript API > ReportTemplate > Event >OnExternalEvent |
Occurs after running the TriggerExternalEvent, TriggerExternalEventByDocIndex.
Prototype :
string OnExternalEvent
(
var ozarg_1,
var ozarg_2,
var ozarg_3,
var ozarg_4
)
Arguments :
ozarg_1 |
The first value received from the TriggerExternalEvent or TriggerExternalEventByDocIndex function |
ozarg_2 |
The second value received from the TriggerExternalEvent or TriggerExternalEventByDocIndex function |
ozarg_3 |
The third value received from the TriggerExternalEvent or TriggerExternalEventByDocIndex function |
ozarg_4 |
The fourth value received from the TriggerExternalEvent or TriggerExternalEventByDocIndex function |
Example :
//Set the properties of the TextBox
//ozarg_1 : Name of TextBox, ozarg_2 : Text of TextBox, ozarg_3 : Font color, ozarg_4 : Whether to display
ReportTemplate.GetInputComponent(ozarg_1).SetText(ozarg_2);
ReportTemplate.GetInputComponent(ozarg_1).SetTextColor(ozarg_3);
ReportTemplate.GetInputComponent(ozarg_1).SetVisible(ozarg_4);