DevExpress VCL 13.2.2 Breaking Changes

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #35988
    tmorris
    Participant

    You may already know this but it appears there are some breaking changes with the latest version of DevExpress. I did not do a through check but at least one of the DrawButton functions in acLFPainter source throws an error on compile. They changed the function. I am using v8.45 alphaskins.

    #51371
    Support
    Keymaster

    Hello!

    Try the attached file, please.

    #51372
    tmorris
    Participant

    Thanks for the quick fix! I just wanted to make sure the fix got into the next build. One note, you might want to double check the version naming in the acLFPainter for the compiler directives. DevExpress VCL is currently at 2013.2.2 not 2012.2.2.

    #51448
    tmorris
    Participant

    Just got around to testing the posted acLFPainter unit. There is still a small problem. Easily fixed. There is one more missing parameter:

    APart: TcxButtonPart = cxbpButton

    So the DrawButton declaration should look like this:

    procedure DrawButton(ACanvas: TcxCanvas; R: TRect; const ACaption: string; AState: TcxButtonState;

    ADrawBorder: Boolean = True; AColor: TColor = clDefault; ATextColor: TColor = clDefault;

    AWordWrap: Boolean = False; AIsToolButton: Boolean = False; APart: TcxButtonPart = cxbpButton); override;

    This matchs up with what is in the VCL 13.2.2 cxLookAndFeelPainters.pas

    Works fine otherwise.

    #51462
    tmorris
    Participant
    'tmorris' wrote:

    Just got around to testing the posted acLFPainter unit. There is still a small problem. Easily fixed. There is one more missing parameter:

    APart: TcxButtonPart = cxbpButton

    So the DrawButton declaration should look like this:

    procedure DrawButton(ACanvas: TcxCanvas; R: TRect; const ACaption: string; AState: TcxButtonState;

    ADrawBorder: Boolean = True; AColor: TColor = clDefault; ATextColor: TColor = clDefault;

    AWordWrap: Boolean = False; AIsToolButton: Boolean = False; APart: TcxButtonPart = cxbpButton); override;

    This matchs up with what is in the VCL 13.2.2 cxLookAndFeelPainters.pas

    Works fine otherwise.

    **Update**

    My mistake. You have the missing parameter. The problem is with the complier directives. The parameter is being ignored because the

    directive: “{$IFNDEF VER12_2_3}”. I think this has to do with the versioning issue I mentioned earlier.

    #51477
    Support
    Keymaster

    Hello!

    Try this improved file.

    #51510
    tmorris
    Participant

    That fixed it. Thanks.

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