Bevel 

(System Library)

Description:              This module draws a titled beveled box.

Returns:                    Nothing

Usage:                       Steady State

Format:                      \System\Bevel(X1,Y1, X2, Y2 [,Title, AlignTitle, Color])

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

                                                Any numeric expression giving the X coordinate on the screen of one side of the bevel.

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

                                                Any numeric expression giving the Y coordinate on the screen of either the top or bottom of the bevel.

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

                                                Any numeric expression giving the X coordinate on the screen of the side of the bevel opposite to X1.

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

                                                Any numeric expression giving the Y coordinate on the screen of the top or bottom of the bevel, whichever is the opposite to Y1.

                                    Title    { text }  { optional }  { default: null string}

                                                An optional parameter that is any text expression to be used as a title embedded in the bevel. The default value is a null text string.

                                    AlignTitle    { Boolean }  { optional }  { default: true}

                                                An optional parameter that is any logical expression; if true (non-0) the top of the title will be aligned with the top of the defined area, if false (0) the bevel will be aligned with the top of the area and the title will protrude past the top. The default value is true.

                                    Color    { numeric }  { optional }  { no default: }

                                                An optional parameter that is any numeric expression giving the index of the color to be displayed under the title. Note that this will affect the area immediately under the title (i.e. it does not affect the area inside the bevel).

Comments:               Bevel is a member of the System Library, and must therefore be prefaced by "\System\", as shown in the "Format" section above. If the application you are developing is a script application, the System variable must be declared in APPMOD.SRC and need not be prefaced by a backslash in the function call.

                             For any optional parameter that is to be set, all optional parameters preceding the desired one must be present, although they may be invalid.

Example:

System\Bevel(10, 10, 110, 40, "Description");

See Also:

TextBox| Edit