ZBox

Description:              This statement draws a layered box in a window.

Returns:                    Nothing

Usage:                       Steady State

Format:                      ZBox(Left, Bottom, Right, Top, Color)

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

                                                Any numeric expression for the left side coordinate of the box.

                                    Bottom     { numeric }  { required }  { no default: }

                                                Any numeric expression for the bottom side coordinate of the box.

                                    Right     { numeric }  { required }  { no default: }

                                                Any numeric expression for the right side coordinate of the box.

                                    Top     { numeric }  { required }  { no default: }

                                                Any numeric expression for the top side coordinate of the box.

                                    Color     { numeric }  { required }  { no default: }

                                                Any numeric expression for the box color.

Comments:               Although this is a layered graphic, it cannot be edited using the toolbar. It is for use within text mode editing only.

Example:

ZBox(10, YLoc(), XLoc(), 10 { Bounding box for box },

12 { Box is light red }); 

This statement draws a (hollow) box in the window whose upper left corner is anchored, but whose lower right corner follows the movement of the mouse.

See Also:

Bar | Box | GUIRectangle | ZBar