Blog Posts

miaizprj

Posted by Mary on June 1, 2020 at 9:02am 0 Comments

@xonuvopidehy11 #food 7604 YHZOEBNYIE @ifezicozy97 #love 3181 TXXODUBEQE @oqaty33 #organic 1355 QNAEMMIUZL @shakixykn82… Continue

kzcrpdrr

Posted by Ruby on June 1, 2020 at 9:02am 0 Comments

@ugimuwhad16 #brooklynnewyork 5359 RQNGWRXPBL @lotychasho31 #weightloss 3397 OKXJBTOUUL @onodijumyzy78 #motivation 8402 FHIROSZUVQ @ghychyvixi44 #democrat 3484… Continue

cmtfwrto

Posted by Layne on June 1, 2020 at 8:58am 0 Comments

@apebomywhiw11 #instalike 9205 YEOTFDDHPR @kneshyng6 #ebooks 3543 LNMCGYJHXH @obolutudish8 #inspiration 5721… Continue

 

info download mu online


Name: info download mu online
Category: Free
Published: worlvebora1972
Language: English

 


 


 

 

 

 

 

 

 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 

Board index » delphi » How can I change the progress bar color?
Mike Sandoval.
How can I change the progress bar color?
Does anyone know how to change the color of a progress bar? I am using four bars in my application and I think it would be good if they were all different colors. As far as I can tell, if I change the system highlight color, update the bar, and then return the system color, it should work. Unfortunately, I do not know how to change the system highlight color in code.
Does anyone have any ideas?
Thank you for all your help.
Dmitri Papiche.
Re:How can I change the progress bar color?
Quote.
"Mike Sandoval" wrote in message.
Quote.
> Does anyone know how to change the color of a progress bar? I am using four > bars in my application and I think it would be good if they were all > different colors. As far as I can tell, if I change the system highlight > color, update the bar, and then return the system color, it should work. > Unfortunately, I do not know how to change the system highlight color in > code.
Use the following lines to change background color and bar color correspondingly of your progress bar control (include CommCtrl unit to your uses clause):
ProgressBar1.Perform (PBM_SETBKCOLOR, 0, ); ProgressBar1.Perform (PBM_SETBARCOLOR, 0, );
For unknown reason background color doesn't change at my machine, as it should (Win98SE, any ideas why?), but fortunately, there is another approach for background color we can use:
Define TOpenProgressBar = class (TProgressBar); Then you can do the following: TOpenProgressBar (ProgressBar1).Color := ;
Regards, Dmitri Papichev.
Mike Sandova.
Re:How can I change the progress bar color?
Thank you for your help. That did the trick. I had to place the perform in the code just before I selected StepIt. I tried it first on my Form Create but the colors did not change.

http://remecucer1971.eklablog.com/a7v600-x-bios-download-no-downloa...

Views: 1

Comments are closed for this blog post

© 2020   Created by PH the vintage.   Powered by

Badges  |  Report an Issue  |  Terms of Service