minimumWidth

Type: Integer

Availability: Read or write at any time

The minimumWidth property of the Form class contains the minimum width (in pixels) of the form. Use this property if you want to prevent users from resizing the form below the specified width. (For details about setting a minimum height, see the minimumHeight property.)

The minimum width is retained even if logic attempts to set the width of the form below the equivalent minimum width.

Windows imposes a minimum height and width so that the form caption buttons are always visible. The effective minimum sizes are therefore the maximum of the size imposed by Windows and the minimumHeight and minimumWidth values.

The minimumWidth property of the JadeDockBase class (from version 2016.0.01) contains the minimum width (in pixels) of the control. Use this property if you want to prevent users from resizing the control below the specified width. (For details about setting a minimum height, see the minimumHeight property.)

The default value of this property is zero (0), with values in the range zero (0) through 32767 pixels permitted. If the property value is zero (0), the property is ignored and has no effect.

The minimumWidth property applies only to dock controls that are aligned vertically (that is, when the alignContainer property value is set to AlignContainer_AllVertical, AlignContainer_Left, or AlignContainer_Right); otherwise the property value is ignored.

The minimumWidth property controls the minimum width of the control when:

The value of the minimumWidth property cannot be greater than the value of the maximumWidth property unless the maximumWidth property is set to the default value of zero (0). If the values of the minimumWidth and maximumWidth properties are the same, no resize bar is displayed on the right of the control, even if the value of the showResizeBar property is true.

The value of the minimumWidth property of the JadeDockBase class has no impact on the allowed sizes of the parent form on which it appears.