|
- - - Visual Basic 6.0: I want to draw lines in a picture box using the [line] method, but I want the lines to be in different colors. The help files give two ways:
1. - using the RGB (n,n,n) method at the end of the [line] statement, or,
2. - setting the pictureboxname.foreground value to one of the hex numbers in the default palette, before the [line] statement you wish it to affect.
- My problem is, neither works. All I get is black lines; I can't get any other color. I notice that if you try to use a hex number not in the existing (default) palette, when you try to move the cursor off that line the computer immediately returns an error. Am I doing this right? - MC
|