Next: TextBoxTextBoxFd, TextBoxFile Up: Procedures Previous: MenuBar

## ReadBox

This template defines a new procedure named ReadBox. Calling this procedure pops up a dialog box to enter and evaluate Tcl/Tk commands. If the template AlertBox is also included, error messages are displayed in a alert box. The procedure gets no parameters.

To configure the different aspects of the read box, there exists a global array named readBox. A default value of ``-'' means that the Tk default value is used. This array contains elements that control the read box (color, font etc.):

A small example of an invocation may look like this:

``

    		ReadBox

This would create the following dialog box:

Figure: The template ReadBox