Frank,
Thanks a lot. I tried it yesterday and it worked great. Today I'll incorporate the pictures into my file selector form.
Thanks again.
>If You like to try it, here is the new beta.
>
>
http://www.personalplanung.com/download/Iconbuddy_1_4b_2.zip>
>it now has the catalogue-function in it. I modified the methods and hope You don't have too much trouble with that.
>
>There is one HighLevel-Method CreateTMPIcons() that will create temporary Icons and/or BMP's with one line of code and have them in the collection. For filenaming You will find properties like cTMPIconsDir, ..Prefix, ..Suffix, ..Extension etc. The default points to SYS(2023)
>
>So the catalogue (collection) now holds up to four filenames and so GetTMPIconFileName() has an additional Parameter.
>
>You also have GetTMPIconsIndex() (to query the index for an Extension) and GetTMPIconsObject (to get the whole Item) and GetTMPIconFileName() to query a filename for an associated Icon (large/small) or Bitmap (large/small)
>
>By default all TMP-Files get erased when IconBuddy dies. But this can be switched off with lAutoDeleteTMPIcons = .F.
>
>the collection has been renamed to oTMPIcons
>
>Have a look at TEST_SAVE5.PRG
>
>Saving associated Icons as BMP-Files without the Collection can be done with GetAssocIconPair2BMPFile()
>
>I think this should be the most important changes.
If it's not broken, fix it until it is.
My Blog