Hi,
Screenshots displaying the issue are attached.
The control in question is set to UseAppStyling = true and UseOsThemes = false
This is running under Windows 7 (but we get similar results under XP.)
In the Windows7Basic.png UltraDateTimeEditor is dropped down. The desktop "personalization" is "Windows 7 Basic.". As you can see, no formatting has been applied.
In the WindowsClassic.png the same control is dropped down. Desktop "personalization" is set to "Windows Classic". The control is formatted by the Year and Month are not visible. They are active, however, so it is likely that this is formatting issue - yellow text on the same yellow background.
Is there a way to format this correctly?
I noticed that DateTimeEditorUnderWindowsClassic.png is cropped - a result of my using Alt-PrintScreen (snagging topmost). Sorry. But I'm sure you can see the issue is there.
Please run the project under Windows 7 and try the windows personalizations. I'm very interested in your results...
Thanks again,
Steve
UltraTest project attached.
Thanks for the quick reply.
I checked the issue about AppStylist. It turns out that it works correctly when the desktop "personalization" is "Windows7Basic." Interestingly, the control is completely formatted correctly, unlike when I'm I'm running my application, when, as pointed out above, it doesn't get formatted at all (under Windows7Basic). Please see "EditorUnderWindows7Basic.png" attached.
When my desktop "personalization" is "Windows Classic" and I run the Appstylist editor the issue appears. See EditorUnderWindowsClassic.png attached
Just to make sure I created a new app which has nothing in it except the UltraDateTimeEditor on a windows form. I used the "pear.isl" that comes with your installation. Nothing else is done. The issue remains. Please see DateTimeEditorUnderWindowsClassic.png.
BTW, UseOsThemes does nothing, as far as I can tell, true or false.
I tried to add the VS project to the attached zip but there is a size limit...I will add a reply and attach the file there.
Thanks for your continuing patience...
SteveAltman said:Yes, the file is yours.
Which one is it?
SteveAltman said:No. It works appropriately in the Editor.
If it's working on the AppStylist canvas, then there must be something different in your application. So you might want to take a look at your application and see what properties (if any) you are setting on the control both at run-time and design-time.
You mention that you are setting UseOsThemes to false. If you reset it back to the default does it make a difference? All of our isl files turn off themes, anyway, so there's no reason to set UseOsThemes on the controls. But it shouldn't hurt anything to do that, either.
Yes, the file is yours.
9.1.20091.2094
No. It works appropriately in the Editor.