Invalid Graphic (.png) TsSpeedButton

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #50331
    DarrenB
    Participant

      Hi Marvie,

      I just set up a basic app with a SkinManager, SkinProvider, AlphaImageList and 1 Speed Button.

      Using Delphi XE, AC 8.20, and Windows Vista 64 bit I was able to assign a single glyph using the method you described without error.

      Darren

      #50332
      Marvie
      Participant
        'DarrenB' wrote:

        Hi Marvie,

        I just set up a basic app with a SkinManager, SkinProvider, AlphaImageList and 1 Speed Button.

        Using Delphi XE, AC 8.20, and Windows Vista 64 bit I was able to assign a single glyph using the method you described without error.

        Darren

        Hum? weird.

        I probably should have mentioned previously, that I'm using Delphi 7 and on Windows 7, and it is AC v8.2 stable

        On a hunch, I started a new application, placed just the bare minimum SkinManager, SkinProvider, and a single Speed button, and tried to add via the “Glyph” option in object inspector. I still get the same error.

        #50333
        Marvie
        Participant

          However, as a work around the ImageList option still works ok.

          Everything shows up as expected using imageindex option.

          Just weird that it wouldn't accept a single glyph option.

          Even though it IS in the correct file format.

          #50334
          CheshireCat
          Participant

            Hello Marvie,

            I seem to remember the PNGImage unit must be installed separately for delphi < 2009. You can download the file here.

            Maybe it will help you further…

            #50380
            Marvie
            Participant
              'CheshireCat' wrote:

              Hello Marvie,

              I seem to remember the PNGImage unit must be installed separately for delphi < 2009. You can download the file here.

              Maybe it will help you further…

              Ahhh yes! Now that you mention it I too remember installing that back when I was on Windows XP. I finally got a chance to check into this last week on the laptop and noticed it there. You are correct. Thanks.

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