Computer Science Canada Drawing a shape in VB 6 |
Author: | sport [ Sun Mar 06, 2005 9:20 pm ] |
Post subject: | Drawing a shape in VB 6 |
Hey could anyone please tell me the syntax to draw a rectangle in VB 6. Thanks |
Author: | Brightguy [ Mon Mar 07, 2005 9:30 am ] | ||
Post subject: | Re: Drawing a shape in VB 6 | ||
This is done with the Line method. It basically follows this syntax:
If you want a filled rectangle, replace B with BF. Remove B if you just want to draw a line. Also, usually you'll want to enable the AutoRedraw property of the object before drawing anything. |
Author: | sport [ Mon Mar 07, 2005 7:50 pm ] |
Post subject: | |
Thanks |