draw Method

Purpose:

Tells a control to draw itself.

Syntax:

.draw

Comments:

The .draw methods are buffered and the display does not change until the canvas.draw method is executed.

Example:

dowhile 1

canvas.drawRGB 0,47,108  // erase the canvas with a solid color

clo.draw  // draw to canvas

but.draw  // draw to canvas

canvas.DRAW  // display the canvas

endwhile