diskinfo SmallIcon property
Return to Introduction  Previous page  Next page
Applies to
dcDiskInfo, dcFileInfo, dcShellIcon, dcFileAssociation, dcShellLink components.  

Declaration
property SmallIcon: TIcon; // Read only!  

Description
The SmallIcon property returns 16x16 shell icon, associated with drive specified in Disk property.  
 
For example, usual small icon image for floppy disk will be floppydiskicon_s, for hard disk - harddiskicon_s, and cdromicon_s for CD-Rom. You may read the icon image but can not write. To convert the icon image to bitmap - use acIcon2Bitmap component.  
 
tip If you would like to get the shell icon associated with the drive without reading the information from drive - use acShellIcon component.  

See also
LargeIcon property.  
File not found.