×
Menu
Index

Pre- and PostEvent

 

Introduction

Like Tools, UserInterfaces can have Pre- and PostEvents.
 

PreEvent

The Tools in this Event will be Executed at first after the GetUserInterface call of the client. The PreEvent is executed before the OnCreate function.
 

PostEvent

The Tools of this Event are executed just before the UserInterface is processed bij a Local Configuration.
 
Attention!
The PostEvent is executed during another call to SoftRules® than the PreEvent and the creation of the UserInterface (with all Events that are executed during that stage). The first call is GetUserInterface (FunctionID = 13) and the second call is ProcessXML (FunctionID = 16) or UpdateUserinterface (FunctionID = 15). The fact that the PostEvent is executed in the second call, means that notepad variables used during the first call will not be available. This is a fact that you should be aware about.