This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.
Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.
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.