Description

Gets or sets whether the maximize button is displayed in the caption bar of the form.

Syntax

MaximizeBox [ = Boolean ]

Property Value

True to display a maximize button for the form; otherwise, false. The default is true.

Remarks

A maximize button enables users to enlarge a window to full-screen size. To display a maximize button, you must also set the form's FormBorderStyle property to either FixedSingle, Sizable, Fixed3D, or FixedDialog.

A maximize button automatically becomes a restore button when a window is maximized. Minimizing or restoring a window automatically changes the restore button back to a maximize button.


The CHM file was converted to HTML by chm2web software.