Alphablending does not seem to work in the latest version

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #37091
    Gino D
    Participant

    There seems to be a bug in the latest version that keeps the form from repainting after the alphablendvalue is changed.

    Example to recreate the problem:

    in formactivate:

    AlphaBlend := True;

    AlphaBlendValue := 0;

    for i := 0 to 100000000 do begin

    AlphaBlendValue := Round((255 / 100000000 ) * I);

    Update;

    end; //for

    AlphaBlend := False;

    When the skin is activated, the form doesn't fade in, but stays completely transparent.

    Tested with Delphi XE6.

    #55412
    Support
    Keymaster

    I can't repeat the issue with your code.

    Can you give me a demo, please?

    #55415
    Gino D
    Participant
    'Support' wrote:

    I can't repeat the issue with your code.

    Can you give me a demo, please?

    Test application (Delphi XE6)

    [attachment=7825:Bugs New AlphaControls.zip]

    There's also a problem with the TransparentColor property of a skinned form, I've added a test in the same application.

    #55419
    Support
    Keymaster

    Thank you. I see that TransparentColor works if the sSkinProvider1.AllowAnimation property is False.

    I will check later why alphablending doesn't works.

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