More on Vista Task Dialogs (JSDialog)#

In my last entry on Vista Task Dialogs I asked whether one should use them on older systems (Windows XP, 9X, 2000, ...) as well, since their look is just different and unknown to the user. Jeremy North posted (may be biased ;)), that he would say yes. Many others said so too, since they perform for the end user much better, then a simple "Yes, No, Cancel Dialog."

However, most components will either work on Vista only (native RAD Studio) or always will display in the nice Vista style, which however, the rest of the application will not. Jeremy North pointed out, that his components support a global variable/setting to change this behavior and allow to display on the "old style." This works nicely and I think answers for me the question whether to use them in my applications or not. Thanks for the Hint, Jeremy, I am not so good at reading documentation...

Simply add the following code to your application to switch to the old "Windows style" display. This checks for Windows Vista and sets the variable accordingly. See below for the result running on Vista vs. Windows XP.

JSDialog.UseOldDialogStyle := SysUtils.Win32MajorVersion < 6;

JSDialog - Vista Task Dialog in Vista Style
JSDialog - Vista Task Dialog in Vista Style

JSDialog - Vista Task Dialog in older Windows Style
JSDialog - Same Vista Task Dialog in older Windows Style

Monday, October 08, 2007 1:49:18 PM (W. Europe Standard Time, UTC+01:00) #    Comments [4]  | 

 

Google AdSense


Tuesday, October 09, 2007 12:51:59 AM (W. Europe Standard Time, UTC+01:00)
Yuck, that image needs to be fixed though...

Check for it in the next update <g>
Tuesday, October 09, 2007 3:37:47 PM (W. Europe Standard Time, UTC+01:00)
"Jeremy North pointed out, that you can his components support a global variable/setting"

You might want to re-write this piece as it clearly looks as if you changed from one type of sentence to another one when in the middle of it! :)

Also, examples with English dialogs usually get to more people than those in German! Sure, for this one it's not very relevant as the emphasis was on "visual style" rather than content, for the previous post suffered from the same, IIRC! :)
Tuesday, October 09, 2007 3:48:03 PM (W. Europe Standard Time, UTC+01:00)
Thanks, I have corrected tat sentence. I should have caught it before posting, but well... As for the sample images, I know, English ones would be better, but sometimes I just want to show that I am a native German speaker ;-)

Honestly, I simply took them straigh from my current software, which is German and I didn'thave enough time to rewrite those in English first. But yeah, I know what you mean...
Tuesday, October 30, 2007 11:28:14 AM (W. Europe Standard Time, UTC+01:00)
I suggest you use the nicer "Flat" button instead in WindowsXP.
stanleyxu
Comments are closed.
All content © 2008, Daniel Wischnewski
On this page
Archives
Promoted Links
Blogroll OPML
My current Flickr Images
www.flickr.com
Dies ist ein Flickr Modul mit �ffentlichen Fotos und Videos von dwischnewski. Ihr eigenes Modul k�nnen Sie hier erstellen.
Recommendations
Sitemap
Special Pages
Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Theme design by Jelle Druyts