Even after changing the "ProgressBar Front & Back Colors" in the Form Designer, PB still show the "ProgressBar" in its default colors.
Any help?
ProgressBar Front & Back Colors
Re: ProgressBar Front & Back Colors
If you are on Windows, you can use:
Code: Select all
ProgressBarLC = ProgressBarGadget(#PB_Any, 99, 31, 340, 12, 0, 0, #PB_ProgressBar_Smooth)
CompilerIf #PB_Compiler_OS = #PB_OS_Windows : SetWindowTheme_(GadgetID(ProgressBarLC), @"", @"") : CompilerEndIf
SetGadgetColor(ProgressBarLC, #PB_Gadget_FrontColor, #Blue)
SetGadgetColor(ProgressBarLC, #PB_Gadget_BackColor, #Red)
Re: ProgressBar Front & Back Colors
Thank you dear Caronte3D,
IT WORKED!
I hope that PB Development Team, consider it as a bug in the Designer.
Best regards.
IT WORKED!
I hope that PB Development Team, consider it as a bug in the Designer.
Best regards.
Re: ProgressBar Front & Back Colors
It's not a bug because the manual specifically says coloring has no effect when XP skins (ie. modern theme) is enabled. The manual could use some re-wording to remove "XP skins" and replace it with "modern theme" instead, though.