The Road to Delphi

Delphi – Free Pascal – Oxygene

VCL Styles Utils – Now supports the TTaskDialog component

7 Comments

I’m very pleased to introduce a very exciting new feature to the VCL Styles Utils project. This is the support for style the TTaskDialog component and all the TaskDialog based Message dialogs. This control available since RAD Studio 2007 is a wrapper for the Task Dialogs introduced in Windows Vista and allows to create very rich and flexible dialogs.

Take a look to some sample dialogs.

2014-10-09 09_48_43-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_41_40-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_42_31-Greenshot

2014-10-09 09_47_41-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_47_52-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_48_07-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_48_19-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_48_31-VCL Styles Utils - TTaskDialogs Demo

And now enabling the VCL Styles and just adding the Vcl.Styles.Hooks unit to your project…..

2014-10-09 09_57_33-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_58_01-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_58_28-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_58_55-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_52_55-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_54_40-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_55_11-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_55_40-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_56_04-VCL Styles Utils - TTaskDialogs Demo

2014-10-09 09_56_42-VCL Styles Utils - TTaskDialogs Demo

You can download a sample application from the project repository.
Also a compiled demo is available here.

If you found any bug please use the issue page of the project.

For a quick tutorial of how use the TTaskDialog component check this great Inofficial TTaskDialog Documentation.

Rodrigo.

Author: Rodrigo

Just another Delphi guy.

7 thoughts on “VCL Styles Utils – Now supports the TTaskDialog component

  1. Pingback: VCL Styles Utils – Now supports the TTask...

  2. Pingback: Новости из мира Delphi 06.10 – 12.10 2014 | Delphi 2010 ru

  3. First, about obvious, to display these taskdialogs correct the style should have properly adjusted clWindow and clWindowText colors. May be some others.

    Second, once I did it, I got now a bug about CHM. When I open a chm-help file kinda shipped with my application by HtmlHelp function, it gets stylized, and it looks really wrong, especially in the case I use light color fonts and dark background. CHM-Window’s background is light by default, but fonts color are clWindowText which are light as well . Not mentioning about highlight color and some glitches between tabs.

    Tried to call HtmlHelp with sending Handle of non-styled Form, however, I couldn’t get having ONE “hidden” non-styled Form,
    TStyleHook seems doesn’t work, it just restores Form’s border only, all rest stays the same(colors).

    Is it possible to say Vcl Styles NOT to touch chm-help windows?

  4. Working with XE6 Prof on Win 10, when I right click within a Open/Save dialog on a file, the popup menu is displayed with Chinese characters when I run my program, but if I execute the dialog within the IDE, the popup menu is as expected. If I don’t theme the application, the dialog works fine.

Leave a comment