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

# DefaultBorderIcons

Maps form border styles to their border icons.

## Declaration

Source position: forms.pp line 1997

`const DefaultBorderIcons: array [TFormBorderStyle] of TBorderIcons = ([], [biSystemMenu, biMinimize], [biSystemMenu, biMinimize, biMaximize], [biSystemMenu], [biSystemMenu, biMinimize], [biSystemMenu, biMinimize, biMaximize]);`

## Description

DefaultBorderIcons is an array constant with TBorderIcons values indicating the icons available for the various form border styles. Values in the array are indexed by the enumeration values in TFormBorderStyle. Each element in the array contains zero (0) or more values from the TBorderIcon enumeration, and indicates that the icon is used for the form border style.

DefaultBorderIcons contains the following values for the corresponding TFormBorderStyle values:

bsNone
  An empty set ([])
bsSingle
  [biSystemMenu, biMinimize]
bsSizeable
  [biSystemMenu, biMinimize, biMaximize]
bsDialog
  [biSystemMenu]
bsToolWindow
  [biSystemMenu, biMinimize]
bsSizeToolWin
  [biSystemMenu, biMinimize, biMaximize]

DefaultBorderIcons is used in the implementation of the SetFormBorderStyle method in TCustomForm.