Draw Command

The draw command is used to draw lines. There are several different options that can be used with the Draw command. It is used to move the current graphics position and turn the direction of the drawing. You cannot use variables in this command. After each move command, the direction of the drawing is returned to 0 degrees. Here's an example:

Draw "u10"

This draws a line 10 pixels long straight up and down. Make sure you use double quotes("") and not parentheses(()), since this command doesn't use them. Look up the Draw command in your QB Help file for more info, since I don't have the space, time, or inclination to go into every little detail. This is a command with a lot of options, so I really couldn't put everything on here.

Go back to Tutorials...

Email: cybertron@flashmail.com