Does anyone know how to change either the background or foreground colour in the heading area of the little calendar that drops down in a grid cell. I'm using an AppStylist theme that I'm happy with for everything else, but the text for this component is black on dark blue and is virtually impossible to read what month is being displayed and also the year.
If I change the grid's default editor to an explicit UltraDateTimeEditor the results are the same (because I can't find the properties there either).
AppStylist doesn't appear to have properties I can change for this (please let me know if I'm wrong), so I'm hoping that I can overrule it from my application using the "ApplicationThenControl" ResolutionOrder in the style.
Any help gratefully received.
Thanks,
Richard
Hi Richard,
Here is what I found out:
The AppStylist stylesets doesn't actually have an UI role for the DateTimeEditor yet. Though it is not quite clear for me how the ForeColour is changed to black.
The blue background is automatically set by the OS's theme (in this particular case it should be WindowsClassic, in the other themes everything is readable). This behavior is probably due to the absence of a UI role.
So just change your OS's theme for now. I'll get back to you as soon as I find a way to ovecome it
Best regards Petar.
Hi Petar,
The .isl file is attached, along with gold.wmf that I use for some backgrounds.
Regards,
I can't find this behavior (grid's default dateTimeEditor is different from white) in any of the existing default themes and I didn't manage to create it myself. If you could send me the StyleSet (***.isl file) you are using I might be able to find out how this was set and override it.
Regards Petar.
Hi Petar. Thanks for your reply.
The ScheduleMonthHeader looks fine in AppStylist, and I have since changed to using Win.UltraWinSchedule.UltraCalendarCombo rather than Win.UltraWinEditors.UltraDateTimeEditor for the dropdown. The screenshot below is what was being displayed before I changed my program and I couldn't find anything in AppStylist that looked like it. This is not now a pressing issue, but if you find out how to change the Black-On-DarkBlue text appearance for this control, please let me know.
Hello Richard,
Is this what you are looking for:
I have set it from the ScheduleMonthHeader UI Role.
If not please send me a screenshot with ferther details.
Sincerely,
Petar Monov
Developer Support Engineer,
Infragistics, Inc