Skip to main content

TdxCustomRibbonForm.BorderStyle Property

Specifies the form’s border style.

Declaration

property BorderStyle: TFormBorderStyle read; write; default bsSizeable;

Property Value

Type Default Description
TFormBorderStyle bsSizeable

A form border style.

Remarks

Options include:

Value

Description

bsNone

  • The form displays no title bar.
  • A user cannot drag the form’s borders to resize it.

Note

Only the Alt+F4 keystroke can close the form.

bsSingle

  • The title bar can show all buttons.
  • A user cannot drag the form’s borders to resize it.

bsDialog

  • Only the Close and Help buttons can appear in the title bar.
  • A user cannot drag a border of the form to resize it.

bsSizable

  • The title bar can display all buttons.
  • A user can drag a border of the form to resize it.

bsToolWindow

  • The title bar can show only the Close button.
  • A user cannot drag a border of the form to resize it.

bsSizeToolWin

  • The title bar can show only the Close button.
  • A user can drag a border of the form to resize it.

If the current border style prohibits the title bar from showing a button, you are unable to display it, even if the corresponding flag is present in the BorderIcons property.

The BorderStyle property’s default value is bsSizeable.

See Also