Advanced features / Front calls |
Front calls execute a native function on the front-end platform.
In your Genero program, use the ui.Interface.frontCall() class method to invoke front-end functions. When calling a user function from programs, specify a module name and a function name. Input and output parameters can be passed/returned in order to transmit/receive values to/from the front-end. A typical example is an "open file" dialog window that allows you to select a file from the front-end workstation file system.
A set of front-end functions is built-in by default in front-ends. However, it is possible to write your own functions in order to extend the front-end possibilities.