- This topic has 26 replies, 4 voices, and was last updated 15 years, 6 months ago by plasticut.
-
AuthorPosts
-
May 11, 2009 at 3:22 pm #32945GiuseppeParticipant
Hi,
I try to skin devexpress components but I receive en arror durning compilation.
I use beta version of Alpha Controls v.6.33. Pls can You tell me for wich version of
DevExpress compnents You develop v.6.33 ?
Best Regards,
GiuseppeMay 11, 2009 at 6:26 pm #39115emailayaParticipantonly 6.32 is out, so i guess u r using 6.32 and not 6.33 <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />
in sdefs.inc u should remove the dot (.) in the define devexp clause to make it skin devexpress.
what error do u get while compiling?
May 12, 2009 at 6:45 am #39122GiuseppeParticipantonly 6.32 is out, so i guess u r using 6.32 and not 6.33 <img src="style_emoticons//smile.gif” style=”vertical-align:middle” emoid=”:)” border=”0″ alt=”smile.gif” />in sdefs.inc u should remove the dot (.) in the define devexp clause to make it skin devexpress.
what error do u get while compiling?
Sorry for mistake, version is 6.32.
The error is on line 108 of unit acLFPainter: class procedure DrawButton(ACanvas: TcxCanvas; R: TRect; const ACaption: string;
Error: [DCC Error] acLFPainter.pas(108): E2037 Declaration of 'DrawButton' differs from previous declaration.Regards.
May 12, 2009 at 7:38 am #39123emailayaParticipantbefore 6.3 u needed to manually make the patch for devexpress
with 6.32 it is done automatically by changing the definition in sdefs.inci think u have the acLFPainter.pas file from the manual patch and u dont need it anymore. maybe its in your project folder?
delete this file, change sdefs.inc file as i wrote previously and re-build AC
May 12, 2009 at 8:04 am #39124GiuseppeParticipantbefore 6.3 u needed to manually make the patch for devexpress
with 6.32 it is done automatically by changing the definition in sdefs.inci think u have the acLFPainter.pas file from the manual patch and u dont need it anymore. maybe its in your project folder?
delete this file, change sdefs.inc file as i wrote previously and re-build AC
I don't underestand. I delete previus 6.3 install and I reinstall 6.32. I check and acLFPainter.pas in in the component project folder!
I also tryed to cancel it but it is required in unit sThirdParty…
Can You pls clarify me with I can do?
Regards.May 12, 2009 at 8:30 am #39125SupportKeymasterHello
Automatic support of DevEx available since AlphaControls v6.12
You must have installed DevExpress and installed AlphaControls (install AlphaControls as described in the Install.txt file).When you have both packages are installed then you can enable support of DevEx skinning – change sDefs.inc file, you must have such line there : {$DEFINE DEVEX}
That's all, Devexpress will be skinned when AlphaSkins are active. No patching or other actions are required.Current versions of AlphaControls was tested with DevEx 6.40-6.42
May 12, 2009 at 9:05 am #39130GiuseppeParticipantHelloAutomatic support of DevEx available since AlphaControls v6.12
You must have installed DevExpress and installed AlphaControls (install AlphaControls as described in the Install.txt file).When you have both packages are installed then you can enable support of DevEx skinning – change sDefs.inc file, you must have such line there : {$DEFINE DEVEX}
That's all, Devexpress will be skinned when AlphaSkins are active. No patching or other actions are required.Current versions of AlphaControls was tested with DevEx 6.40-6.42
Hi,
I follow exactely Your instrutcions, but I receive same error:
The error is on line 108 of unit acLFPainter: class procedure DrawButton(ACanvas: TcxCanvas; R: TRect; const ACaption: string;
Error: [DCC Error] acLFPainter.pas(108): E2037 Declaration of 'DrawButton' differs from previous declaration.
I have Devxpress v.6.41 and AlphaControls v6.32 and I can't resolve the issue…May 12, 2009 at 9:21 am #39133SupportKeymasterCould you send me your cxLookAndFeelPainters.pas file please?
May 12, 2009 at 9:23 am #39135emailayaParticipantmake sure u have only 1 acLFPainter.pas file in your environment (search path etc…)
and yes, the support for devex is older than 6.3, my mistake
May 12, 2009 at 9:29 am #39137GiuseppeParticipantMay 12, 2009 at 9:39 am #39138SupportKeymasterThank you! I have checked this file and he is too old…
Look, latest files from DevEx must have “Copyright © 1998-2009” at the beginning and you haven't many new declarations there (you haven't “IdxSkinSupport = interface” for example), are you sure that version of used DevExpress package is 6.41?May 12, 2009 at 9:53 am #39140GiuseppeParticipantThank you! I have checked this file and he is too old…
Look, latest files from DevEx must have “Copyright © 1998-2009” at the beginning and you haven't many new declarations there (you haven't “IdxSkinSupport = interface” for example), are you sure that version of used DevExpress package is 6.41?
This one is from version 43. If it is right I try to install that version of devexpress.This is the last version of devexpress but I don't find the interface IdxSkinSupport. Why?
May 12, 2009 at 10:27 am #39141SupportKeymasterLast file is compatible with current version of AlphaControls <img src="style_emoticons//a7.gif” style=”vertical-align:middle” emoid=”:a7:” border=”0″ alt=”a7.gif” />
Please try to update DevExpress to this version and changed sDefs.inc file as described earlier.May 12, 2009 at 10:30 am #39142GiuseppeParticipantLast file is compatible with current version of AlphaControls <img src="style_emoticons//a7.gif” style=”vertical-align:middle” emoid=”:a7:” border=”0″ alt=”a7.gif” />
Please try to update DevExpress to this version and changed sDefs.inc file as described earlier.Sorry, I modify tread when You answer me…
I say that this is the last version cxLookAndFeelPainters.pas of devexpress but I don't find the interface IdxSkinSupport. Why?
May 12, 2009 at 11:20 am #39145GiuseppeParticipantSorry, I modify tread when You answer me…I say that this is the last version cxLookAndFeelPainters.pas of devexpress but I don't find the interface IdxSkinSupport. Why?
I investigate and I see that the IdxSkinSupport = interface is locate in cxLookAndFeels.pas and not in cxLookAndFeelPainters.pas
What about?May 12, 2009 at 11:29 am #39146SupportKeymasterSorry, it was my mistake, but it's not important. Your last cxLookAndFeelPainters.pas file have correct declaration of the DrawButton procedure, but previous file is really old and you can see a difference between these two files.
May 12, 2009 at 2:17 pm #38739GiuseppeParticipantSorry, it was my mistake, but it's not important. Your last cxLookAndFeelPainters.pas file have correct declaration of the DrawButton procedure, but previous file is really old and you can see a difference between these two files.Installed devexpress v.43 and everythin was ok, ThankYou for assistance.
But another problem. I use Delphi 2009, devexpress .43 and when I try to change skin at design time
via sSkinManager, the ide crash end exit without errors.
Another question, the cxProgressBar can'be skinned?
Regards.May 12, 2009 at 3:04 pm #39151GiuseppeParticipantInstalled devexpress v.43 and everythin was ok, ThankYou for assistance.
But another problem. I use Delphi 2009, devexpress .43 and when I try to change skin at design time
via sSkinManager, the ide crash end exit without errors.
Another question, the cxProgressBar can'be skinned?
Regards.Here an example of project with devexpress controls. It is impossible to change skin (Stack overfolw)… in design time and via code also.
May 13, 2009 at 6:29 am #39118GiuseppeParticipant+1
May 13, 2009 at 9:16 am #39197SupportKeymasterI found a cause of issue, here is changed acLFPaint.pas file, please try him (just replace old).
-
AuthorPosts
- You must be logged in to reply to this topic.