Marvie

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: TsDirectoryEdit #50622
    Marvie
    Participant

    LOL NEVERMIND!!

    Error on my part (two actually).

    I forgot ExtractFilePath function also tacks on the backslash character, i.e the ' ' char.

    Sooo the code for the string was translating to C:…some folder…\settings.ini

    instead of C:Some foldersettings.ini

    The double backslash was screwing it up.

    plus I realized I didn't release the IniFile object with 'Free'

    Although that doesn't affect the reading, just memory issue.

    problem solved.

    < homer simpson says...> DOH !!!

    in reply to: Invalid Graphic (.png) TsSpeedButton #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.

    in reply to: Invalid Graphic (.png) TsSpeedButton #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.

    in reply to: Invalid Graphic (.png) TsSpeedButton #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.

Viewing 4 posts - 1 through 4 (of 4 total)