Yep, Dim pen As New Pen(SystemColors.ControlLightLight)
Thanks a bunch, was wasting up all the little space left for the code window
:)
Best Regards,
Miguel Santos
Quote:
> Dim pen as New Pen(SystemColors.xxxxxx)
> Replace xxxxx with item, such as Menu, Border, etc....
> It may be SystemColor... I'm not booted up to my .NET partition right now.
> --------
> Russ
> > Is this the shortest way to create a pen using a system color? Seems
like
> a
> > rather verbose way...
> > Dim pen As New Pen(Color.FromKnownColor(KnownColor.ControlLightLight))
> > TIA,
> > Miguel Santos