I have an ultraprogressbar that I segment with "percentsetting" to different colours and turn useAppStyling to False and everything appears perfectly in colour.
Now I embed that same ultraprogressBar into a cell in the grid (MyGrid.Rows(I).Cell(column).EditorComponent = MyProgressBar) and the segment colours do not appear. It is overwritten by the grid appstyle setting. If I turn off our AppStylist then the ProgressBar in the grid appears in colour.
Is there a way without removing the appstyling in the grid to get my progressbar showing in colour? Thanks.
That totally worked! I don't think I would have ever figured that one out. Thanks for the assist.
Regards, Bob.
Hi Bob,
In your isl file you have a default resource setup for the ProgressBarUIElement. Please remove this default resource for ProgressBarUIElement to add custom color to it through your application. When you open your isl file using AppStylist, you can find this resource in the Resources tab of ProgressBarUIElement.
Please let me know if I may be of further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
The picture I sent in my previous post is your program sample with my isl file which produces the issue. Your code colour settings do not take effect with my isl file (previously provide but I've re-attached it again). I cannot find the isl property which is causing my issue. I do have both the grid and ProgressBar resolution order to "ControlTenApplication" in my isl file. Thanks, Bob.
I’m able to set background color for the ProgressBar in Grid by changing the ResolutionOrder. Below is my Form1 with this color setting. I also added the ProgressBar through code to see if that makes any difference but it is setting the background color as per the ResolutionOrder setting.
One more thing that I forgot to mention is, I also changed the ResolutionOrder of ProgressBar control. This should fix it if not then please send me a sample with this issue reproduced in it along with the steps to reproduce it. I will further look into this issue as soon as I receive the sample.
Your sample has the same issue... NO COLOUR when used with your or my isl file in the grid. Below is what it looks like with my isl file. The colours do not appear in the grid.
My desired effect is to have the percent lines in colour. Not in the light blue that seems to be overriding everything. Thank You.