Project: Message Dialogue Components.
Unit: PJMessageDialog.
Class: TPJWinMsgDlg
Applies to: ~>3.0
property IconResource: string;
Set IconResource to identify the resource to be used to display a user defined icon in the dialogue box. If IconResource is left blank then the default resource name “MAINICON” is used. The icon resource must be contained in the executable file. If such a resource cannot be found then no icon is displayed.
The Kind property must be set to mkUser in order to display a user defined icon, otherwise IconResource is ignored.
Note 1: “MAINICON” is the resource name of the application’s main icon in Delphi.
Note 2: To reference an icon resource with a numeric id (rather than a string name) preceed the numeric value by a ‘#’ character.