ImgDir

Modified November 2022; see History

ImgDir=dirspec

Specifies the default directory for the images, allowing you to avoid having to specify the complete directory redundantly for each image. The directory may be specified using either AMOS or native (Windows) syntax.

You may also specify the name of a DLL (when loading icons from a DLL) in order to be able to omit the "::dllname" from the icon specification in the cell data. In this case you must include the "::" in front of the DLL name in the ImgDir specification. For example, if you specify ImgDir=::ashico1 then in the cell data you can specify icon names within that DLL, such as "add" or "delete" without the ::ashico suffix.

ImgDir is ignored if blank, not specified, and for any individual image file name that contains a directory specifier. For example:

ImgDir=appimg:

ImgDir=c:\my documents\my images\app images

Example of a complete image column definition:

COLDEF = COLDEF + "50~25~Images~I~ImgSiz=80,60,24,Fit,Scaleq~ImgCount=150,1~ImgDir=appimg:~~

 

Example of a DLL specification:

ImgDir=::ashico1

 

History

2022 August, A-Shell 6.5.1720:  ImgDir can now be used to specify the name of a DLL containing icons, allowing just the icon name to be specified in each cell.