Summary:

Gets or sets the maximum size that a Form be resized to.

Syntax:

object.MaximumSize [ = size ]

object.MaximumSize = width, height

Property Values:

size

A Size object that represents the maximum width and height that a form can be resized to.

width, height

An array of two numbers representing the maximum width and height that a form can be resized to.

Example

$Form.MaximumSize = 640, 480 $Form.MaximumSize = $System.Size(640, 480)

Remarks

This property enables you to limit the size of a form to a specified maximum size. You can use this feature to prevent a user from sizing a window to an undesirable size. If this property is set to a size that is 0 in height and 0 in width, the form will have no maximum size beyond the limits set by Windows.


The CHM file was converted to HTML by chm2web software.