Percentage or "Flood" control wanted

  • Thread starter Thread starter Jack Russell
  • Start date Start date
J

Jack Russell

Mabry has a nice control which shows the percentage full in both colour
and as a number(i.e. If I set it to 50 and red half the box will be red,
the other half white and the number 50 will appear). Unfortunately they
have no plans to .net it. Does anyone know of a .net equivalent.
I know about the MS progress indicator but I cannot colour control that.

Thanks

Jack Russell
 
Look up GDI+ FillRectangle. GDI+ is real easy to get into oncce you cross
the initial barrier of understanding some of the library.

Worth the effort to. With a little GDI+ self training my windows apps look
like loverly web applications.
 
Josh said:
Look up GDI+ FillRectangle. GDI+ is real easy to get into oncce you cross
the initial barrier of understanding some of the library.

Worth the effort to. With a little GDI+ self training my windows apps look
like loverly web applications.
Josh,

Thanks for that , got the fill part working but cannot place text on top
of it, any ideas?

Jack Russell
 
Thanks for that , got the fill part working but cannot place text on top
of it, any ideas?


Heres where I started with GDI+, I recommend it.

http://www.bobpowell.net/faqmain.htm


.... heres a sample...in VB (urgh. Sorry to admit I'm VBist)

Dim fn As New Font("Times New Roman", 10)
e.Graphics.DrawString("Hello World!", fn, Brushes.Black, 10, 10)

fn.Dispose()
 
Back
Top