This template defines two new procedures named InputBoxOne and InputBoxMulti. Calling this procedures pops up a dialog box to make textual input. The procedure InputBoxOne allows one line of text, and the procedure InputBoxMulti allows several lines of text. The input boxes can be modal or not. If they are modal, the entered string is returned. Otherwise, the specified command is evaluated. The procedure gets the following parameters:
To configure the different aspects of the input box, there exists a global array named inputBox. A default value of ``-'' means that the Tk default value is used. This array contains elements that control the input box (color, font etc.):
Array element & Default & Purpose
A small example of an invocation may look like this:
InputBoxMulti
This would create the following dialog box: