Re: PictureBox change fore color
- From: "Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 8 Aug 2005 11:23:19 -0700
"Konstantin." <Konstantin. @discussions.microsoft.com> wrote in message
news:F4E963B8-56E6-492F-B8A3-0B94A86DFC9A@xxxxxxxxxxxxxxxx
> Hi!!
> I'm developing a math (ray tracing) application in VB6, and using .line
> method to draw between 100 and 100,000 lines in a picturebox. I need some
> of
> this lines be painted in a different color. I use
> picturebox.forecolor=RGB(255,0,0) in runtime but it just won't change the
> color the lines are painted!! What can I do?
>
> Thank you,
>
> Konstantin.
How are you drawing the lines? The Line method has an optional Color
argument....
Syntax
object.Line [Step] (x1, y1) [Step] - (x2, y2), [color], [B][F]
--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
.
- Follow-Ups:
- Re: PictureBox change fore color
- From: Jeff Johnson [MVP: VB]
- Re: PictureBox change fore color
- Prev by Date: Re: recognize lines
- Next by Date: Re: Icons on Toolbars
- Previous by thread: Sorting a listview
- Next by thread: Re: PictureBox change fore color
- Index(es):
Relevant Pages
|