Sign in Join
FPDoc Onlineexperiment

DefaultBorderIcons constant

In unit Forms

Maps form border styles to their border icons.

Declaration

pascal
DefaultBorderIcons: Array[TFormBorderStyle] of TBorderIcons = Set of TBorderIcon = (biSystemMenu,biMinimize,biMaximize,biHelp) = ([], [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.

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