Devexpress integration

Viewing 20 posts - 1 through 20 (of 27 total)
  • Author
    Posts
  • #32945
    Giuseppe
    Participant

    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,
    Giuseppe

    #39115
    emailaya
    Participant

    only 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?

    #39122
    Giuseppe
    Participant

    QUOTE (emailaya @ May 11 2009, 08:26 PM)
    only 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.

    #39123
    emailaya
    Participant

    before 6.3 u needed to manually make the patch for devexpress
    with 6.32 it is done automatically by changing the definition in sdefs.inc

    i 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

    #39124
    Giuseppe
    Participant

    QUOTE (emailaya @ May 12 2009, 09:38 AM)
    before 6.3 u needed to manually make the patch for devexpress
    with 6.32 it is done automatically by changing the definition in sdefs.inc

    i 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.

    #39125
    Support
    Keymaster

    Hello

    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

    #39130
    Giuseppe
    Participant

    QUOTE (Support @ May 12 2009, 10:30 AM)
    Hello

    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

    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…

    #39133
    Support
    Keymaster

    Could you send me your cxLookAndFeelPainters.pas file please?

    #39135
    emailaya
    Participant

    make 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

    #39137
    Giuseppe
    Participant

    QUOTE (Support @ May 12 2009, 11:21 AM)
    Could you send me your cxLookAndFeelPainters.pas file please?

    Here it is.

    #39138
    Support
    Keymaster

    Thank 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?

    #39140
    Giuseppe
    Participant

    QUOTE (Support @ May 12 2009, 11:39 AM)
    Thank 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?

    #39141
    Support
    Keymaster

    Last 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.

    #39142
    Giuseppe
    Participant

    QUOTE (Support @ May 12 2009, 12:27 PM)
    Last 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?

    #39145
    Giuseppe
    Participant

    QUOTE (Giuseppe @ May 12 2009, 12:30 PM)
    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?

    I investigate and I see that the IdxSkinSupport = interface is locate in cxLookAndFeels.pas and not in cxLookAndFeelPainters.pas
    What about?

    #39146
    Support
    Keymaster

    Sorry, 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.

    #38739
    Giuseppe
    Participant

    QUOTE (Support @ May 12 2009, 01:29 PM)
    Sorry, 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.

    #39151
    Giuseppe
    Participant

    QUOTE (Giuseppe @ May 12 2009, 04:17 PM)
    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.

    Here an example of project with devexpress controls. It is impossible to change skin (Stack overfolw)… in design time and via code also.

    #39118
    Giuseppe
    Participant

    +1

    #39197
    Support
    Keymaster

    I found a cause of issue, here is changed acLFPaint.pas file, please try him (just replace old).

Viewing 20 posts - 1 through 20 (of 27 total)
  • You must be logged in to reply to this topic.