vandinz
1) Add a Function object to your project.
2) In your event sheet, add this event to create your function:
Function: On "MyFunc"
- Add your action/s (get parameter values with: Function.Param(n))
Add a function call event e.g. System On start of layout
- Add this action: Function: Call "MyFunc", with parameters as/if required