Sign in Join
FPDoc Onlineexperiment

GetDialogIcon function deprecated

In unit Dialogs

Use DialogRes.DialogGlyphs

Gets a bitmap with the icon for the specified dialog identifier.

Declaration

pascal
function GetDialogIcon(idDiag: Integer): TCustomBitmap

Arguments

idDiag

Identifier for the dialog type, i. e. idDialogWarning or idDialogShield.

Function result

Bitmap with the icon for the dialog identifier.

Description

The bitmap may contain a stock image provided by theme services (when available), or a PNG image image loaded from a Lazarus resource in the application.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.