SkinProvider 9.0beta

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36055
    bdegli
    Participant

    Just installed 9.00

    It crashes when GripMode is set – otherwise OK

    FCommonData.FCacheBmp is NIL

    function TsSkinProvider.RBGripPoint(const ImgIndex :integer): TPoint;

    begin

    Result := Point(FCommonData.FCacheBmp.Width – WidthOfImage(FCommonData.SkinManager.ma[ImgIndex]) – SysBorderWidth(Form.Handle, BorderForm) – ShadowSize.Right – 1,

    FCommonData.FCacheBmp.Height – HeightOfImage(FCommonData.SkinManager.ma[ImgIndex]) – SysBorderWidth(Form.Handle, BorderForm) – ShadowSize.Bottom – 1);

    end;

    When I add a statement to skip draw grip when bitmap is NIL – it gets executed at a later time … though bitmap gets set later (to late..)

    #51646
    Support
    Keymaster

    Hello!

    Thank you for information. I can't reproduce this error, but I have added a checking for empty bitmap there.

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