TextBox

                        (System Library)

Description:              Displays a text string, breaking it into multiple lines at space or CRLF.

Returns:                    Nothing

Usage:                       Steady State

Format:                      \System\TextBox(X1, Y1, X2, Y2, Msg, FontVal, Style, BevelTitle [,BackColor])

Parameters:             X1     { numeric }  { required }  { no default: }

                                                The left side coordinate.

                                    Y1     { numeric }  { required }  { no default: }

                                                The bottom side coordinate.

                                    X2     { numeric }  { required }  { no default: }

                                                The right side coordinate.

                                    Y2     { numeric }  { required }  { no default: }

                                                The top side coordinate.

                                    Msg     { text }  { required }  { no default: }

                                                The message buffer to display.

                                    FontVal     { Font }  { required }  { no default: }

                                                The font to use (defaults to \_DialogFont).

                                    Style     { numeric }  { required }  { default: see note }

                                                The bevel/border/wordwrap requirements. This can be one of:

                                       Bit 0: Draw a bevel at X1/Y1/X2/Y2. An 8-pixel margin will be added when determining the text rectangle. The default is true.

                                       Bit 1: Draw a border around the text rectangle. A further 4-pixel margin will be added. The default is true.

                                       Bit 2: Word wrap text. The default is true.

                                    BevelTitle     { text }  { required }  { no default: }

                                                The title to display for the bevel (if relevant).

                                    BackColor     { numeric }  { optional }  { default: see note}

                                                An optional parameter specifying the background color (def. image\Number_Hatch.gif SYS…BUTTONFACE).

Comments:               If the current text cannot be accommodated by breaking at a word boundary, then the word will be hyphenated (not grammatically). A vertical scrollbar will be automatically added if required.