Description

Gets or sets whether the control box is displayed in the caption bar of the form.

Syntax

ControlBox [ = Boolean ]

Property Value

True if the form displays a control box in the upper left corner of the form; otherwise, false. The default is true.

Remarks

If the ControlBox property is set to true, the control box is displayed in the upper-left corner of the caption bar. The control box is where the user can click to access the system menu.

Note: If your form does not display a control box, the form is still able to close using the ALT+F4 keyboard combination. This behavior differs from dotnet and may change in a future release.

See Also

Applies To: Form


The CHM file was converted to HTML by chm2web software.