TsAlphaImageList misbehaves when used with bmp-files

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #51938
    Support
    Keymaster

      Hello Ralf

      Try to use the imgList.LoadFromFile method without creating of the TPNGGraphic

      This procedure made specially for these purposes.

      I see a problem with loading of Bmp by this procedure, this issue will be solved soon.

      #51939
      ralfiii
      Participant

        This makes the code for loading the png images a lot smaller, but I can't load a .bmp file this way.

        I get this error:


        Cannot load Unknown_small.bmp

        Invalid or unexpected image format.

        Help…

        #51941
        Support
        Keymaster

          This issue is solved, I have sent patched file to you by email.

          #51942
          ralfiii
          Participant

            Super, thanks.

            But: The clear method doesn't work yet.

            The loaded images stay in the imagelist when calling “Clear”.

            If you press the button in the demo more often you'll see…

            #51949
            ralfiii
            Participant

              I just received the we sources, now it works.

              Thanks a lot!

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