12.3 The X-Function Dialog Box

An X-Function can be rendered as an interactive dialog box, allowing you to specify information such as input and output data locations and values for various input parameters. The dialog box is automatically generated by Origin, based on information contained in the X-Function file. Thus, dialog boxes for all X-Functions have a uniform look and provide you with a set of common controls for specifying various parameters. The following figure shows the smooth X-Function (category = Signal Processing) rendered as a dialog box.

The X-Function Dialog Box 01.png

Display of an X-Function dialog box is controlled by a flag in the X-Function definition tree. In situations where it is not necessary or not appropriate for the X-Function to display a dialog box, this flag can be turned off. Please see the Programming Help files for further details.