IconMessage function
Gets the title displayed on the task dialog for the specified main icon.
Declaration
function IconMessage(Icon: TTaskDialogIcon): stringArguments
Icon | Specifies the icon used to identify the translated message in the return value. |
Function result
Translated message content for the specified icon.
Description
IconMessage is a
String function used to get the title
displayed on an emulated task dialog for the specified icon. It is used in the
implementation of TLCLTaskDialog to retrieve the title on the emulated task
dialog when the value has not already been assigned. The return value contains
the translated resource string associated with the index value in the Icon
argument. For example:
- tiWarning
- Returns rsMtWarning.
- tiQuestion
- Returns rsMtConfirmation.
- tiError
- Returns rsMtError.
- tiInformation, tiShield
- Returns rsMtInformation.
- Other values
- Returns an empty string ('').
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
