[Overview][Constants][Types][Procedures and functions][Index] | Reference for unit 'LCLPlatformDef' (#lcl)

# LCLPlatformDisplayNames

Array constant with the display names for supported LCL platforms.

## Declaration

Source position: lclplatformdef.pas line 64

`const LCLPlatformDisplayNames: array [TLCLPlatform] of string = ('gtk (deprecated)', 'gtk2', 'gtk3 (alpha)', 'win32/win64', 'wince', 'carbon', 'qt', 'qt5', 'qt6', 'fpGUI (alpha)', 'NoGUI', 'cocoa', 'customdrawn (alpha)', 'MUI');`

## Description

LCLPlatformDisplayNames is a array of Strings with display names for the supported LCL platforms. Values in the array are indexed by TLCLPlatform enumeration values. For example:

    // var SDir, SName: String;

    // SDir contains 'win32'
    SDir := LCLPlatformDirNames[lpWin32];

    // SName contains 'win32/win64'
    SName := LCLPlatformDisplayNames[lpWin32];

Use LCLPlatformDirNames to get the directory name for a given TLCLPlatform enumeration value.

## See also

LCLPlatformDirNames |  | Array constant with the directory names for supported LCL platforms.