LoadFromResource instead of File …

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36731
    bdegli
    Participant

    Hi

    I'm using LoadFromFile to dynamically add png's at runtime.

    Does it need an additional Function to load from ResourceStream ? eg. Image.png added to resources.

    LoadFromPngStream(const Stream: TStream) … does not work.

    Thanx

    Beat

    #54272
    Support
    Keymaster

    Hello

    “LoadFromPngStream” is a method of the TsAlphaImageList component?

    #54352
    bdegli
    Participant
    'Support' wrote:

    Hello

    “LoadFromPngStream” is a method of the TsAlphaImageList component?

    Thanx for the tipp, but I tried that before … it works from a pure png – but want to load it from a fileStram wich probably include addl. file information than the png only.

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