DelphinSoftware / vcl-styles-utils

Automatically exported from code.google.com/p/vcl-styles-utils
0 stars 0 forks source link

TFileOpenDialog incorrectly styled #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The standard Delphi components TFileOpenDialog and TFileSaveDialog are 
incorrectly styled (see screenshot), though all vcl-styles-utils units are 
included in project.
I'm tried with the latest revision 289 and Delphi XE7, the define {$DEFINE 
UseVCLStyleUtilsMenu} is set (default behaviour) to use the utils explicitly.

Original issue reported on code.google.com by stefan.g...@googlemail.com on 21 Nov 2014 at 5:06

Attachments:

GoogleCodeExporter commented 9 years ago
Only the old open/save file dialogs are supported, So to activate this 
functionality you must set the UseLatestCommonDialogs global variable to false 
(this is done by the  Vcl.Styles.Utils.Forms unit) so check if you are setting 
this variable to true somewhere in your project. Also be sure of include these 
units on your project. 

  Vcl.Styles.Utils.Graphics
  Vcl.Styles.Hooks
  Vcl.Styles.UxTheme
  Vcl.Styles.Utils.Menus
  Vcl.Styles.Utils.Forms
  Vcl.Styles.Utils.StdCtrls
  Vcl.Styles.Utils.ComCtrls
  Vcl.Styles.Utils.ScreenTips
  Vcl.Styles.Utils.SysControls
  Vcl.Styles.Utils.SysStyleHook

You can check all this info on the wiki page 
https://code.google.com/p/vcl-styles-utils/wiki/VclStylesSysControls

Please let me know the results.

Original comment by Rodrigo.Ruz.V@gmail.com on 21 Nov 2014 at 5:36

GoogleCodeExporter commented 9 years ago
Hi Rodrigo,
your proposed solution works and the _old_ fashioned dialogs are shown and 
styled correctly, though the intention was to use the new dialogs.
Thanks anyway,
Stefan

Original comment by stefan.g...@googlemail.com on 21 Nov 2014 at 11:41

GoogleCodeExporter commented 9 years ago
I hope some day add support for styling the new dialogs, but this is a very 
difficult task.

Original comment by Rodrigo.Ruz.V@gmail.com on 22 Nov 2014 at 1:26