Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomRibbonForm.BorderStyle Property

Specifies the form’s border style.

#Declaration

Delphi
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