Hi john
I did the OnPaint, (se beneath), just a small test,
but the
< call the base, then do your own painting >
you suggest, I don't exactly know what you mean about this.
This code works, but not the way I hoped, the string is drawn behind
my Progress bar control, so is there another way I can do this, or is
Graphics the wrong one to use?
private void OnPaint(object
sender,System.Windows.Forms.PaintEventArgse)
{
Graphics G = e.Graphics;
G.DrawString( "Hello Mum!", new Font( "Verdana", 20 ),
new SolidBrush( Color.Tomato ),
650,
360 );
}
On Fri, 22 Apr 2005 22:05:54 -0400, John Davison
<no**********@yahoo.com> wrote:
Rene Sørensen wrote: Hi
Is there a way to show text in/over a progressbar (like using a label
with transparent background? Which hasn't worked for me, BTW)???
Rene
override the OnPaint method, call the base, then do your own painting
John