In my application, I use a progress bar which changes colour when completed. It worked fine with Delphi 2007 but I cannot get it to work with Delphi XE10.
With Delphi 2007, I used the following code: On starting: SendMessage(progressDT.Handle, PBM_SETBARCOLOR, 0, clWebLightCoral); On completion: SendMessage(progressDT.Handle, PBM_SETBARCOLOR, 0, clWebPaleGreen); In XE10, the SendMessage is ignored and the progress bar defaults to the current theme colour. However, there is a BarColor property, but I cannot get it to work. Any ideas? Thanks and regards Errol Errol Anderson Geothermal Resource Analysis | Software Development Geothermal Science and Data Solutions Ltd. (GSDS) Website: <http://www.gsds.co.nz/> www.gsds.co.nz Mobile: +64 21 181 3367 Email: <mailto:[email protected]> [email protected] Skype: errol_anderson This communication and any attached material contains confidential information intended only for the use of the addressee named above. No confidentiality is waived or lost by any mistaken transmission to you. If you have received this message in error please delete the document and notify us immediately.
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
