Links with a (say) white brush and a blac


#1

Links with a (say) white brush and a black pen… what I mean by this is I would like to have a link(s) that are say 3 pxls in width with an additional say 2 pixels on either edge of the 3 pxls i.e. \this will be a border for the line the border should be one color and the line (inside) or body must be another… how duable is this… I am leaning toward a goLinkLabel Being able to do this… is this possible?


#2

Sure–it’s easy: actually, several sample applications do it. Search for “HighlightPen” assignments. For example:
link.Pen = new Pen(Color.White, 3)
link.HighlightPen = new Pen(Color.Black, 7)
link.Highlight = true


#3

Clever implementation :) I like it thanx again Walter… :)