AlphaControls v8.16 and DevExpress 12.2.3

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #35624
    Jacek
    Participant

    Delphi XE2

    AlphaControls v8.16

    DevExpress 12.2.3

    FYI:

    TcxACLookAndFeelPainter.function CheckButtonColor(AState: TcxButtonState): TColor; override;

    differs from DevEx:

    TcxCustomLookAndFeelPainter.function CheckButtonColor(AState: TcxButtonState; ACheckState: TcxCheckBoxState): TColor; virtual;

    Implementation should be:

    function TcxACLookAndFeelPainter.CheckButtonColor(AState: TcxButtonState; ACheckState: TcxCheckBoxState): TColor;

    begin

    if Skinned then Result := DefaultManager.GetGlobalColor else Result := inherited CheckButtonColor(AState, ACheckState);

    end;

    Regards,

    Jacek

    #50170
    Hamilton
    Participant

    This problem still exists in version 8.18

    PS Many thanks to Jacek to posting the fix, it allowed me to keep coding with minimal downtime 🙂

    Regards,

    Hamilton

    #50171
    Hamilton
    Participant

    While you're in that area of code, there are two compiler hints that would be good to clean up also:

    [DCC Hint] acLFPainter.pas(380): H2269 Overriding virtual method 'TcxACPCPainter.GetStyleID' has lower visibility (protected) than base class 'TcxPCTabsPainter' (public)

    [DCC Hint] acLFPainter.pas(381): H2269 Overriding virtual method 'TcxACPCPainter.GetStyleName' has lower visibility (protected) than base class 'TcxPCTabsPainter' (public)

    #38356
    Hamilton
    Participant

    The error and the 2 warnings are still present in v8.19

    Regards,

    Hamilton

    #38351
    Support
    Keymaster

    I will install latest devex soon and I will test it.

    Please try the attached file.

    #50268
    Hamilton
    Participant

    Hi Serge,

    The provided file doesn't fix the compiler error or the warnings. The extra parameter in CheckButtonColor is required to build, as shown in Jacek's post.

    Regards,

    Hamilton

    #50273
    Support
    Keymaster

    I'm sorry, it was a wrong file.

    Here is a changed unit.

    #50275
    Hamilton
    Participant

    Cheers that file fixes the error and both warnings.

    Regards,

    Hamilton

    #38396
    Hamilton
    Participant

    Fixed in the 8.20 release.

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