[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Contains a custom icon displayed in the main content area on the dialog.
Source position: dialogs.pp line 805
public property TCustomTaskDialog.CustomMainIcon : TIcon |
CustomMainIcon is a TIcon property which contains the custom icon used in the main content area on the task dialog. It allows an icon other than one of the built-in resources in MainIcon to be used in the content area. The image content can be loaded at design-time using the property editor in the Object Inspector, or assigned at run-time prior to calling Execute for the task dialog.
The property value is stored during component streaming when an icon has been assigned to the property and its image data is not empty. Otherwise, it is omitted from the LFM resource.
The handle for the custom icon image is used when the Execute method in the widgetset class instance is called. Include the value tfUseHIconMain in the Flags property to enable use of the handle in the widget instance instead of a handle for one of the built-in icon resources.
Use MainIcon to select one the standard built-in icons for use in the main content area.
Use FooterIcon or CustomFooterIcon to specify the icon displayed in the footer content area on the task dialog.
Added in LCL version 4.0.
|
Icon displayed beside the Title for the dialog. |
|
|
Icon for the footer area displayed at the bottom of the dialog. |
|
|
Contains a custom icon displayed in the footer area on the dialog. |
|
|
Set of options enabled for the Task dialog. |
|
|
Set type used to store values from the TTaskDialogFlag enumeration. |
|
|
Represents options that can be enabled for TTaskDialog. |
|
|
Implements an icon image type; small images typically associated with applications, controls, etc. |
Version 4.0 | Generated 2025-05-03 | Home |