Author |
Topic  |
|
pierrotsc
  
USA
499 Posts |
Posted - Nov 03 2014 : 18:27:31
|
Using XE2 and removing the period in front of the enable vcl theme in ie.inc I get some undeclared identifier compiling the units. The errors are in iexthemes. That is when i try to compile pkiectrl16
maybe, i am doing it wrong.
thanks. Pierre |
|
w2m
   
USA
1990 Posts |
Posted - Nov 03 2014 : 18:30:56
|
That should not happen... What is the error?
My guess is you have more than one copy of the imageen units in your system path.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
 |
|
pierrotsc
  
USA
499 Posts |
Posted - Nov 03 2014 : 18:51:33
|
[DCC Error] iexThemes.pas(75): E2003 Undeclared identifier: 'seFont' [DCC Error] iexThemes.pas(75): E2003 Undeclared identifier: 'StyleElements' [DCC Error] iexThemes.pas(75): E2015 Operator not applicable to this operand type [DCC Fatal Error] ieview.pas(1262): F2063 Could not compile used unit 'iexThemes.pas'
i only have one copy of imageen units in my system path. brand new install on a new machine. maybe i should enable something in xe2? |
 |
|
xequte
    
39143 Posts |
|
pierrotsc
  
USA
499 Posts |
Posted - Nov 04 2014 : 06:46:26
|
which version should we be using then ? |
 |
|
w2m
   
USA
1990 Posts |
Posted - Nov 04 2014 : 08:29:44
|
Pierre,
Vcl.Themes seems to change with each Delphi version because it is something new beginning with XE2 if I remember correctly, so Embarcadero is improving themes I think with each Delphi release.
Unfortunately themes are not fully developed even with XE7 meaning that the themes only apply to forms and components that support vcl theming. System Menus, Menus, Popup Menus, Dialogs, Message Boxes, TaskMessageDlg and many other controls are not automatically supported or themed. This is the reason why Rodrigo.Ruz has developed an open source Vcl.Styles.Utils package. http://code.google.com/p/vcl-styles-utils/.
So if you want a fully themed application where everything is themed including ImageEnView, ImageEnMView and ImageEnVect then I would get XE7 and also the Vcl.Styles.Utils package.
The IEOpenFileDialog is not fully themed even with the Vcl.Styles.Utils with XE7. To get themed dialogs you need to use the old style TOpenDialog, TSaveDialog and not the newer TOpenPicture or TSavePicture dialogs. Rodrigio is working on getting theming to work with the new picture dialogs, but at the moment that is not possible.
Vcl.Theming can produce an excellent looking GUI but I have found that sometimes the Vcl.Styles.Utils can cause unsolvable problems and exceptions if not coded the correct way or if certain components are used. For example... I recently had to remove changing styles in a themed application because merely using the vcl.styles.utils and changing the theme in the application, caused Raize DropMaster to malfunction. Dropped text would not function anymore if the app changed themes. The only remedy was to not allow users to change themes in the application.
So you may wind up having a nicely themed application, but you may have to develop work-a-rounds to eliminate problems in some more of the more complex applications.
Simple themed applications with ImageEn work just fine, but you have to learn the limitations of the current state of vcl.theming.
It is too bad that Embarcadero has not fully developed vcl.Theming so all standard vcl components and dialogs are themed. Today I asked the question during a on line Embarcadero presentation about theming menus and dialogs, but all they said was they do not support system level theming...
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |
 |
|
pierrotsc
  
USA
499 Posts |
Posted - Nov 04 2014 : 09:02:57
|
Thanks Bill. I found out that alphaskin does theme imageen. I tried their demo. Not sure if i want to go this route though.
I did install the vcl theme that you mentioned and tried a few demo. it does look nice.
Appreciate your input. Pierre |
 |
|
w2m
   
USA
1990 Posts |
|
pierrotsc
  
USA
499 Posts |
Posted - Nov 05 2014 : 17:38:49
|
will re download them then..thanks |
 |
|
|
Topic  |
|