IFormControl.WindowStyle

Syntax

WindowStyle: FormWindowStyle;

Description

The WindowStyle property determines a form style.

Comments

The style, set in this property, determines the mode of the form work. The WindowStyle property is set to FormWindowStyle.Normal by default, and a standard form is created. When the normal form is started, it looks like a separate window of the operating system.

The main and MDI child forms should be determined when the multiple-window MDI application is developed. Set the FormWindowStyle.MDIFrame value for the MDI main form in the WindowStyle property, and set the FormWindowStyle.MDIChild value for all child MDI forms. Only the following components can be used on the main MDI form: BannerBar, ControlBar, MainMenu, ReportFormulaBar, Ribbon, Toolbar. Child MDI forms can contain any components.

NOTE. The WindowStyle property can be changed only at the form development stage.

See also:

IFormControl