GetDialogCaption function
Gets the resource string used as the caption for the specified dialog identifier.
Declaration
function GetDialogCaption(idDiag: Integer): stringArguments
idDiag | Identifier for the dialog type, i. e. idDialogWarning or idDialogError. |
Function result
Default caption for the dialog identifier.
Description
The following dialog identifiers and return values are used in the routine:
- idDialogWarning
- Return value is rsMtWarning.
- idDialogError
- Return value is rsMtError.
- idDialogInfo
- Return value is rsMtInformation.
- idDialogConfirm
- Return value is rsMtConfirmation.
- idDialogShield
- Return value is rsMtAuthentication.
The return value is '?' when an unknown value is used in the idDiag argument.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
