Delphi Component Properties - Icons

Properties based on TIcon require special processing - basically When this is done, the Delphi IDE will automatically provide a dialog box for selecting the icon.

If these rules are not followed, then Delphi will crash (completely close) and you will loose any unsaved work.


Code

These code fragments are from a working component


Author: Robert Clemenzi - clemenzi@cpcug.org
URL: http:// cpcug.org / user / clemenzi / technical / Languages / Delphi / ComponentProperties_Icons.html