Next: Widgets Up: Procedures Previous: YesNoBox

## fileselect

This template defines a new procedure named fileselect. Calling this procedure pops up a dialog box to select a file. When the (`OK```) button is pressed, the procedure passed on as first parameter is evaluated. This procedure gets the filename as parameter. The procedure gets the following parameters:

A small example of an invocation may look like this:

``

    		fileselect

This would create the following dialog box:

Figure: The template fileselect