Specifies an icon file (.ICO) or resource that displays when a form is minimized.

Property of

Form, SubForm

Description

Use icon to specify an image to be used when a form is minimized. The icon property is a string that can take one of two forms:

RESOURCE <resource id> <dll name>
specifies a bitmap resource and the DLL file that holds it.

FILENAME <filename>
specifies an .ICO file.