The simplest way is to use two panels one inside other with some pixels
space between their borders. You can color background color of bigger panel
to color you want so it will looks like colored border of the panel.
The other way is to build your cutom control derived from panel with
override of onPaint event and just draw using GDI+ border you want
Hope it helps
--
Tamir Khason
You want dot.NET? Just ask:
"Please,
www.dotnet.us "
"Patrick Blackman" <ca*******@videotron.ca> wrote in message
news:uE**************@TK2MSFTNGP10.phx.gbl...
I would like to have a panel control which has the ability to have
different color borders, any idea how to accomplish this.
Thanks