[DUG] Progress bar XP/Vista with gradient
Jeremy Coulter
jscoulter at gmail.com
Wed Feb 4 16:30:54 NZDT 2009
Sounds like a good article J.
On Wed, Feb 4, 2009 at 4:26 PM, Jeremy North <jeremy.north at gmail.com> wrote:
> The reason the progress bar is blue blocks on XP is because you don't
> have themes enabled.
>
> I need to think of a topic to write for the next Blaise magazine,
> perhaps I can do one of creating your own progress bar.
>
> The GraphUtil unit includes a method for drawing a gradient to a canvas.
>
> On Wed, Feb 4, 2009 at 2:19 PM, John Bird <johnkbird at paradise.net.nz>
> wrote:
> > I am looking for something a bit nicer than the standard Delphi
> > TProgressBar. I have noted on Vista it does instead render as a Vista
> type
> > bar, complete with the light swishing along it, which is nice, but on XP
> it
> > is still the plain blue blocks one.
> >
> > My main need is to have two or more progress bars of different colour
> next
> > to each other. Additionally it would be nice for them to be continuous
> (not
> > blocks) and using some gradient effect like in Vista (colour most in the
> > centre of the bar fading to the edges - which I guess could be done
> easily
> > enough by two gradient filled shapes each).
> >
> > Anyone know of some good simple (free preferred) downloadable component?.
> >
> > Alternatively I am happy to to make my own by filling a shape with a
> > gradient colour....but in D2007 I couldn't find any help on this.
> Knowing
> > the D2007 help this doesn't mean it can't be done - it might just not be
> > documented. Anyone have some suggestions?
> >
> > John
> >
> > _______________________________________________
> > NZ Borland Developers Group - Delphi mailing list
> > Post: delphi at delphi.org.nz
> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
> > Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
> >
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090204/703e6241/attachment.html
More information about the Delphi
mailing list