Results 1 to 4 of 4

Thread: How to use Icons in the LCL

  1. #1
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    How to use Icons in the LCL

    I've been playing with the LCL more than I have recently and I've been trying my darndest to try and figure out the Icon property of the TForm.

    I've tried everything from BMPs, GIFs and ICO files semselves but none of these seem to either make A) the icon appear in the title bar icon of the window or B) show it's self in the compiled EXE files within Windows Explorer.

    Any idea if I'm missing something or if this has not been yet implimented?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  2. #2

    How to use Icons in the LCL

    I only managed to get it to work with XPM files. Do some searching around the web and you can find a converter. Hopefully someone else shoots up a better answer

  3. #3
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    How to use Icons in the LCL

    Thanks Jeremy!

    XPM files, huh? Wow... never heard of those to be honest. :?

    What else uses them?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #4

    How to use Icons in the LCL

    Yeah, they're used in X Windows. Usually for icons (pixmaps we Linux heads call them). Open one in a text editor and you'll get a surprise.
    [size=10px]"In science one tries to tell people, in such a way as to be understood by everyone, something that no one ever knew before. But in poetry, it's the exact opposite." -- Paul Dirac[/size]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •