FMX.Forms.TCommonCustomForm.BorderStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BorderStyle: TFmxFormBorderStyle read FBorderStyle write SetBorderStyle  default TFmxFormBorderStyle.Sizeable;

C++

__property TFmxFormBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, default=2};

Properties

Type Visibility Source Unit Parent
property public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCommonCustomForm

Description

Specifies the appearance and behavior of the form border.

Use BorderStyle to get or set the appearance and behavior of the form border. BorderStyle can be any of the following TFmxFormBorderStyle values:

Value Meaning

Single

Not resizable; minimize/maximize menu

None

Not resizable; no visible border line

Sizeable

Standard resizable border

ToolWindow

Similar to Single, but with a smaller caption

SizeToolWin

Similar to Sizeable, but with a smaller caption

Notes:

  • In iOS applications, None makes your form run in fullscreen mode. With any other value, your iOS app shows the iOS status bar.
  • In Android applications, the BorderStyle property does not control fullscreen display. Instead, you should set the theme property on the Project > Options > Version Info page of your Android project:
    • Setting the theme = TitleBar means that your Android app includes a title or status bar.
    • Setting the theme = NoTitleBar means that your Android app runs in fullscreen mode, without a title or status bar.

See Also