Vcl.Forms.TFormStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TFormStyle = (fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop);

C++

enum DECLSPEC_DENUM TFormStyle : unsigned char { fsNormal, fsMDIChild, fsMDIForm, fsStayOnTop };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms Vcl.Forms

Description

TFormStyle describes form style.

TFormStyle consists of the following values.



Value Meaning

fsNormal

The form is neither an MDI parent window nor an MDI child window.

fsMDIChild

The form is an MDI child window.

fsMDIForm

The form is an MDI parent window.

fsStayOnTop

This form remains on top of the desktop and of other forms in the project, except any others that also have FormStyle set to fsStayOnTop. If one fsStayOnTop form launches another, neither form will consistently remain on top.



See Also