Vcl.Forms.TCustomForm.BorderIcons

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BorderIcons: TBorderIcons read FBorderIcons write SetBorderIcons stored IsForm  default [biSystemMenu, biMinimize, biMaximize];

C++

__property System::Uitypes::TBorderIcons BorderIcons = {read=FBorderIcons, write=SetBorderIcons, stored=IsForm, default=7};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Specifies which icons appear on the title bar of the form.

Use BorderIcons to get or set the icons that appear on the title bar of the form. BorderIcons can include any of the following TBorderIcons values:



Value Meaning

biSystemMenu

The form has a Control menu (also known as a System menu).

biMinimize

The form has a Minimize button

biMaximize

The form has a Maximize button

biHelp

If BorderStyle is bsDialog or biMinimize and biMaximize are excluded, a question mark appears in the form's title bar and when clicked, the cursor changes to crHelp; otherwise,no question mark appears.



Note: Certain combinations of the BorderIcons and BorderStyle properties are mutually exclusive. For example, BorderIcons biMax, biMin with BorderStyle of bsDialog are mutually exclusive.

See Also

Code Examples